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

definition:
caseExpr :: AExpr a -> AExpr a
caseExpr aexpr = case aexpr of
  (ACase _ _ e _) -> e
  _               -> error "AnnotatedFlatCurryGoodies.caseExpr: no case expression"
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- get scrutinee of case expression
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({ACase}) |-> _ || ({AVar}) |-> _ || ({ALit}) |-> _ || ({AComb}) |-> _ || ({ALet}) |-> _ || ({AFree}) |-> _ || ({AOr}) |-> _ || ({ATyped}) |-> _}
name:
caseExpr
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