CurryInfo: contract-prover-4.0.0 / Curry2SMT.pat2SMT

definition: Info
 
pat2SMT :: TAPattern -> Term
pat2SMT (ALPattern _ l)    = lit2SMT l
pat2SMT (APattern ty (qf,_) ps)
  | qf == pre "[]" && null ps
  = sortedConst "nil" (polytype2sort ty)
  | otherwise
  = tComb (transOpName qf) (map (TSVar . fst) ps)
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Translates a pattern into an SMT expression.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({ALPattern}) |-> {TConst} || ({APattern}) |-> {TComb}}
name: Info
 pat2SMT
precedence: Info
 no precedence defined
result-values: Info
 {TComb,TConst}
signature: Info
 FlatCurry.Annotated.Types.APattern FlatCurry.Types.TypeExpr -> ESMT.Term
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term