CurryInfo: flatcurry-annotated-3.3.0 / FlatCurry.Annotated.Goodies.patLiteral

definition:
patLiteral :: APattern _ -> Literal
patLiteral = trPattern failed (\_ l -> l)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- get literal from literal pattern
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{() |-> {trPattern}}
name:
patLiteral
precedence:
no precedence defined
result-values:
{trPattern}
signature:
FlatCurry.Annotated.Types.APattern a -> FlatCurry.Types.Literal
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms