CurryInfo: verify-non-fail-2.0.0 / Verify.WithSMT.lit2SMT

definition: Info
 
lit2SMT :: Literal -> Term
lit2SMT (Intc i)   = TConst (TInt i)
lit2SMT (Floatc f) = TConst (TFloat f)
lit2SMT (Charc c)  = TConst (TInt (ord c))
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Translates a literal into an SMT expression.
We represent character as ints.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({Intc}) |-> {TConst} || ({Floatc}) |-> {TConst} || ({Charc}) |-> {TConst}}
name: Info
 lit2SMT
precedence: Info
 no precedence defined
result-values: Info
 {TConst}
signature: Info
 FlatCurry.Types.Literal -> Verify.ESMT.Term
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms