definition:
|
ifOrProg :: (Prog->a) -> (Prog->a) -> InterfaceOrFlatProg -> a
ifOrProg iffun _ (IF prog) = iffun prog
ifOrProg _ fpfun (FP prog) = fpfun prog
|
demand:
|
argument 3
|
deterministic:
|
deterministic operation
|
failfree:
|
(_, _, _)
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_,{IF}) |-> _ || (_,_,{FP}) |-> _}
|
name:
|
ifOrProg
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
(FlatCurry.Types.Prog -> a) -> (FlatCurry.Types.Prog -> a)
-> InterfaceOrFlatProg -> a
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
reducible on all ground data terms
|