CurryInfo: cpm-3.3.0 / CPM.Repository.findVersion

definition:
findVersion :: Repository -> String -> Version -> Maybe Package
findVersion repo pn v =
  maybeHead $ filter ((== v) . version) $ findAllVersions repo pn True
 where maybeHead []    = Nothing
       maybeHead (x:_) = Just x
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Finds a specific version of a package.
failfree:
(_, _, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_) |-> _}
name:
findVersion
precedence:
no precedence defined
result-values:
_
signature:
Repository -> 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