|
definition: |
onlyLinearFunctions :: [(QName,Bool)] -> Expr -> Bool onlyLinearFunctions li e = all isRightLinearDefined (funcsInExpr e) where isRightLinearDefined fun = maybe False id (lookup fun li) |
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
does an expression contains only functions defined by right-linear rules and functions? |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> _}
|
|
name: |
onlyLinearFunctions |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
[((String, String), Prelude.Bool)] -> FlatCurry.Types.Expr -> Prelude.Bool |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |