CurryInfo: flatcurry-4.0.0 / FlatCurry.Goodies.caseBranches

definition:
caseBranches :: Expr -> [BranchExpr]
caseBranches expr = case expr of
  (Case _ _ bs) -> bs
  _             -> error "FlatCurryGoodies.caseBranches: no case expression"
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- get branch expressions from case expression
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({Case}) |-> _ || ({Var}) |-> _ || ({Lit}) |-> _ || ({Comb}) |-> _ || ({Let}) |-> _ || ({Free}) |-> _ || ({Or}) |-> _ || ({Typed}) |-> _}
name:
caseBranches
precedence:
no precedence defined
result-values:
_
signature:
FlatCurry.Types.Expr -> [FlatCurry.Types.BranchExpr]
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms