|
definition: |
viewFunction :: String -> String -> String -> Int -> CTypeExpr -> [CRule]
-> CFuncDecl
viewFunction description entityName viewType arity functionType rules =
stCmtFunc description (viewFunctionName entityName viewType) arity
Public functionType rules
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
entityName: Name of entity the view should be generated for viewType: the function of the generated View, e.g. "new", "edit", "list" arity functionType: the type of the view function rules: the rules defining the view |
|
failfree: |
(_, _, _, _, _, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,_,_,_,_) |-> _}
|
|
name: |
viewFunction |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
String -> String -> String -> Prelude.Int -> AbstractCurry.Types.CTypeExpr -> [AbstractCurry.Types.CRule] -> AbstractCurry.Types.CFuncDecl |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |