definition: |
doExpr :: [CStatement] -> CExpr doExpr stats = case stats of [CSExpr exp] -> exp _ -> CDoExpr stats |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
Constructs a do expression. If the list of statements in the do expression contains a single expression, the do expression is transformed into a simple expression. |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({:}) |-> _ || ({[]}) |-> {CDoExpr}} |
name: |
doExpr |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
[AbstractCurry.Types.CStatement] -> AbstractCurry.Types.CExpr |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |