definition: |
showConditions :: [FuncDecl] -> [(QName, NonFailCond)] -> String showConditions fdecls = unlines . map (showCondFunc . genNonFailFunction fdecls) where showCondFunc (fn,cf) = "\n-- Non-fail condition of operation `" ++ fn ++ "`:\n" ++ showFuncDecl cf |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
--------------------------------------------------------------------------- Prints a list of conditions for operations (if not empty). The first argument contains all function declarations of the current module. |
failfree: |
<FAILING> |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_) |-> {.._#lambda508}} |
name: |
showConditions |
precedence: |
no precedence defined |
result-values: |
{.._#lambda508} |
signature: |
[FlatCurry.Types.FuncDecl] -> [((String, String), ([(Prelude.Int, FlatCurry.Types.TypeExpr)], FlatCurry.Types.Expr))] -> String |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |