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