|
definition: |
containsChoice :: Rule -> Bool containsChoice (Rule _ _ rhs) = hasChoice rhs where hasChoice (Var _) = False hasChoice (Func ft f args) = (ft==Def && f=="?") || any hasChoice args |
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
does a rule contains a call to choice operator "?"? |
|
failfree: |
_ |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({Rule}) |-> _}
|
|
name: |
containsChoice |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Rule -> Prelude.Bool |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
reducible on all ground data terms |