definition:
|
patternTest :: TAPattern -> SMT.Term -> SMT.Term
patternTest (ALPattern _ l) be = be =% (lit2SMT l)
patternTest (APattern ty (qf,_) _) be = constructorTest True qf be ty
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
failfree:
|
(_, _)
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({ALPattern},_) |-> {TComb} || ({APattern},_) |-> {TComb}}
|
name:
|
patternTest
|
precedence:
|
no precedence defined
|
result-values:
|
{TComb}
|
signature:
|
FlatCurry.Annotated.Types.APattern FlatCurry.Types.TypeExpr
-> Language.SMTLIB.Types.Term -> Language.SMTLIB.Types.Term
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|