definition: |
listPattern :: [CPattern] -> CPattern listPattern [] = pNil listPattern (p:ps) = CPComb (pre ":") [p, listPattern ps] |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
--- Constructs a list pattern from list of component patterns. |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({[]}) |-> {CPComb} || ({:}) |-> {CPComb}} |
name: |
listPattern |
precedence: |
no precedence defined |
result-values: |
{CPComb} |
signature: |
[AbstractCurry.Types.CPattern] -> AbstractCurry.Types.CPattern |
solution-complete: |
operationally complete operation |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |