CurryInfo: cpm-3.3.0 / CPM.Options.readVersion'

definition:
readVersion' :: String -> Either String Version
readVersion' s = case readVersion s of
  Nothing -> Left $ "'" ++ s ++ "' is not a valid version"
  Just  v -> Right v
demand:
no demanded arguments
deterministic:
deterministic operation
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> _}
name:
readVersion'
precedence:
no precedence defined
result-values:
_
signature:
String
-> Prelude.Either String (Prelude.Int, Prelude.Int, Prelude.Int, Prelude.Maybe String)
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term