CurryInfo: flatcurry-4.0.0 / FlatCurry.Goodies.isCase

definition:
isCase :: Expr -> Bool
isCase e = case e of
  Case _ _ _ -> True
  _          -> False
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- is expression a case expression?
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({Case}) |-> {True} || ({Var}) |-> _ || ({Lit}) |-> _ || ({Comb}) |-> _ || ({Let}) |-> _ || ({Free}) |-> _ || ({Or}) |-> _ || ({Typed}) |-> _}
name:
isCase
precedence:
no precedence defined
result-values:
{False,True}
signature:
FlatCurry.Types.Expr -> Prelude.Bool
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms