CurryInfo: rw-data-generator-2.0.0 / RW.Generator.genClass

definition:
genClass :: [CFuncDecl] -> RWM CClassDecl
genClass pdcfs = do
  module' <- getModuleName
  fls <- getFunctionLayouts

  return $ CClass (module', rwClassName rwNaming) Public (CContext []) [genericTypeVariableName] 
                  [] (map (makeFunc module') fls ++ pdcfs)
 where
  makeFunc :: MName -> FunctionLayout -> CFuncDecl
  makeFunc module' (FunctionLayout name t _) = 
    CFunc (module', name) 0 Public (CQualType (CContext []) t) []
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Generates the ReadWrite class.
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> _}
name:
genClass
precedence:
no precedence defined
result-values:
_
signature:
[AbstractCurry.Types.CFuncDecl] -> RW.Monad.RWM AbstractCurry.Types.CClassDecl
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms