CurryInfo: spicey-4.2.0 / Spicey.ControllerGeneration.controllerFunction

definition: Info
 
controllerFunction :: String -> String -> String -> Int -> CTypeExpr -> [CRule]
                   -> CFuncDecl
controllerFunction description entityName controllerType arity functionType
                   rules =
  stCmtFunc description
            (controllerFunctionName entityName controllerType)
            arity
            (if controllerType `elem` ["main"]
               then Public
               else Private)
            functionType rules
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
entityName: Name of entity the controller should be generated for
controllerType: the function of the generated Controller, e.g. "new", "edit", "list"
arity
functionType: the type of the controller function
rules: the rules defining the controller
failfree: Info
 (_, _, _, _, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_,_,_,_) |-> _}
name: Info
 controllerFunction
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> String -> String -> Prelude.Int -> AbstractCurry.Types.CTypeExpr
-> [AbstractCurry.Types.CRule] -> AbstractCurry.Types.CFuncDecl
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms