CurryInfo: flatcurry-annotated-3.3.0 / FlatCurry.Annotated.Goodies.caseBranches

definition:
caseBranches :: AExpr a -> [ABranchExpr a]
caseBranches aexpr = case aexpr of
  (ACase _ _ _ bs) -> bs
  _                -> error "AnnotatedFlatCurryGoodies.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:
{({ACase}) |-> _ || ({AVar}) |-> _ || ({ALit}) |-> _ || ({AComb}) |-> _ || ({ALet}) |-> _ || ({AFree}) |-> _ || ({AOr}) |-> _ || ({ATyped}) |-> _}
name:
caseBranches
precedence:
no precedence defined
result-values:
_
signature:
FlatCurry.Annotated.Types.AExpr a -> [FlatCurry.Annotated.Types.ABranchExpr a]
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms