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