CurryInfo: abstract-curry-4.0.0 / AbstractCurry.Transform.trCStatement

definition: Info
 
trCStatement :: (CExpr -> a)
             -> (CPattern -> CExpr -> a)
             -> ([CLocalDecl] -> a)
             -> CStatement -> a
trCStatement sexp _ _ (CSExpr exp)    = sexp exp
trCStatement _ spat _ (CSPat pat exp) = spat pat exp
trCStatement _ _ slet (CSLet locals)  = slet locals
demand: Info
 argument 4
deterministic: Info
 deterministic operation
documentation: Info
 
Transforms a statement (occuring in do expressions or list comprehensions).
failfree: Info
 (_, _, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_,{CSExpr}) |-> _ || (_,_,_,{CSPat}) |-> _ || (_,_,_,{CSLet}) |-> _}
name: Info
 trCStatement
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 (AbstractCurry.Types.CExpr -> a) -> (AbstractCurry.Types.CPattern
-> AbstractCurry.Types.CExpr -> a) -> ([AbstractCurry.Types.CLocalDecl] -> a)
-> AbstractCurry.Types.CStatement -> a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms