definition: |
patVars :: APattern a -> [(VarIndex, a)] patVars (APattern _ _ vs) = vs patVars (ALPattern _ _) = [] |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
--- Select the pattern variables of a given pattern |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({APattern}) |-> _ || ({ALPattern}) |-> {[]}} |
name: |
patVars |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
FlatCurry.Annotated.Types.APattern a -> [(Prelude.Int, a)] |
solution-complete: |
operationally complete operation |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |