CurryInfo: spicey-4.2.0 / Spicey.RouteGeneration.branchesForEntity

definition: Info
 
branchesForEntity :: Entity -> (CPattern, CRhs)
branchesForEntity (Entity entityName _) =
  let controllerReference = entityName ++ "Controller"
   in cBranch (CPComb ("RoutesData", controllerReference) [])
              (constF (controllerModuleName entityName,
                       "main" ++ controllerReference))
demand: Info
 argument 1
deterministic: Info
 deterministic operation
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({Entity}) |-> {(,)}}
name: Info
 branchesForEntity
precedence: Info
 no precedence defined
result-values: Info
 {(,)}
signature: Info
 Database.ERD.Entity -> (AbstractCurry.Types.CPattern, AbstractCurry.Types.CRhs)
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms