CurryInfo: currypp-3.2.0 / CPP.ICode.ParseError.combinePRs

definition:
combinePRs :: (a -> b -> c) -> PR a -> PR b -> PR c
combinePRs f (OK x) (OK y)           = okPR (f x y)
combinePRs _ (Errors p1) (Errors p2) = Errors (p1 ++ p2)
combinePRs _ (Errors p1) (OK _)      = Errors p1
combinePRs _ (OK _)      (Errors p2) = Errors p2
demand:
arguments 2 3
deterministic:
deterministic operation
documentation:
--- Combines two PRs by a given functions
failfree:
(_, _, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,{OK},{OK}) |-> {OK} || (_,{OK},{Errors}) |-> {Errors} || (_,{Errors},{Errors}) |-> {Errors} || (_,{Errors},{OK}) |-> {Errors}}
name:
combinePRs
precedence:
no precedence defined
result-values:
{Errors,OK}
signature:
(a -> b -> c) -> PR a -> PR b -> PR c
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms