definition:
|
orExps :: AExpr a -> [AExpr a]
orExps aexpr = case aexpr of
(AOr _ e1 e2) -> [e1,e2]
_ -> error "AnnotatedFlatCurryGoodies.orExps: no or-expression"
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
--- get expressions from or-expression
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({AOr}) |-> {:} || ({AVar}) |-> _ || ({ALit}) |-> _ || ({AComb}) |-> _ || ({ALet}) |-> _ || ({AFree}) |-> _ || ({ACase}) |-> _ || ({ATyped}) |-> _}
|
name:
|
orExps
|
precedence:
|
no precedence defined
|
result-values:
|
{:}
|
signature:
|
FlatCurry.Annotated.Types.AExpr a -> [FlatCurry.Annotated.Types.AExpr a]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
reducible on all ground data terms
|