CurryInfo: cpm-3.3.0 / CPM.LookupSet.findVersion

definition:
findVersion :: LookupSet -> String -> Version -> Maybe Package
findVersion ls p v =
  maybeHead $ filter ((== v) . version) $ findAllVersions ls p True
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Finds a specific version of a package in the lookup set.
---
--- @param l the lookup set
--- @param p the name of the package
--- @param v the package version
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_) |-> _}
name:
findVersion
precedence:
no precedence defined
result-values:
_
signature:
LookupSet -> String
-> (Prelude.Int, Prelude.Int, Prelude.Int, Prelude.Maybe String)
-> Prelude.Maybe CPM.Package.Package
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term