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

definition: Info
 
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: Info
 arguments 2 3
deterministic: Info
 deterministic operation
documentation: Info
 
Combines two PRs by a given functions
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{OK},{OK}) |-> {OK} || (_,{OK},{Errors}) |-> {Errors} || (_,{Errors},{Errors}) |-> {Errors} || (_,{Errors},{OK}) |-> {Errors}}
name: Info
 combinePRs
precedence: Info
 no precedence defined
result-values: Info
 {Errors,OK}
signature: Info
 (a -> b -> c) -> PR a -> PR b -> PR c
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms