definition:
|
orExps :: Expr -> [Expr]
orExps expr = case expr of
(Or e1 e2) -> [e1,e2]
_ -> error "FlatCurryGoodies.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:
|
{({Or}) |-> {:} || ({Var}) |-> _ || ({Lit}) |-> _ || ({Comb}) |-> _ || ({Let}) |-> _ || ({Free}) |-> _ || ({Case}) |-> _ || ({Typed}) |-> _}
|
name:
|
orExps
|
precedence:
|
no precedence defined
|
result-values:
|
{:}
|
signature:
|
FlatCurry.Types.Expr -> [FlatCurry.Types.Expr]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
reducible on all ground data terms
|