definition: |
patExpr :: APattern a -> AExpr a patExpr = trPattern (\a name vs -> AComb a ConsCall name (map var vs)) ALit where var (v, a) = AVar a v |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
--- build expression from pattern |
failfree: |
() |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{() |-> {trPattern}} |
name: |
patExpr |
precedence: |
no precedence defined |
result-values: |
{trPattern} |
signature: |
FlatCurry.Annotated.Types.APattern a -> FlatCurry.Annotated.Types.AExpr a |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |