definition:
|
isGround :: AExpr _ -> Bool
isGround exp = case exp of
AComb _ ConsCall _ args -> all isGround args
_ -> isLit exp
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
--- is expression fully evaluated?
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({AComb}) |-> _ || ({AVar}) |-> _ || ({ALit}) |-> _ || ({ALet}) |-> _ || ({AFree}) |-> _ || ({AOr}) |-> _ || ({ACase}) |-> _ || ({ATyped}) |-> _}
|
name:
|
isGround
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
FlatCurry.Annotated.Types.AExpr a -> Prelude.Bool
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
reducible on all ground data terms
|