CurryInfo: rewriting-3.0.0 / Rewriting.Files.fromLiteral

definition: Info
 
fromLiteral :: CLiteral -> Term QName
fromLiteral (CIntc i)    = tConst ("%i", show i)
fromLiteral (CFloatc f)  = tConst ("%f", show f)
fromLiteral (CCharc c)   = tConst ("%c", [c])
fromLiteral (CStringc s) = tConst ("%s", s)
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Transforms an abstract Curry literal into a term.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({CIntc}) |-> {TermCons} || ({CFloatc}) |-> {TermCons} || ({CCharc}) |-> {TermCons} || ({CStringc}) |-> {TermCons}}
name: Info
 fromLiteral
precedence: Info
 no precedence defined
result-values: Info
 {TermCons}
signature: Info
 AbstractCurry.Types.CLiteral -> Rewriting.Term.Term (String, String)
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term