CurryInfo: spicey-4.2.0 / Spicey.EntityRoutesGeneration.generateRoutesForEntity

definition:
generateRoutesForEntity :: String -> [Entity] -> CurryProg
generateRoutesForEntity erdname allEntities =
  CurryProg
   "Config.EntityRoutes"
   -- imports:
   [ "System.Spicey", model erdname ]
   Nothing -- defaultdecl
   [] -- classdecls
   (map (controllerInstDecl erdname) allEntities) -- instdecls
   [] -- typedecls
   -- functions
   []
   [] -- opdecls
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
-- "main"-function
failfree:
(_, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_) |-> {CurryProg}}
name:
generateRoutesForEntity
precedence:
no precedence defined
result-values:
{CurryProg}
signature:
String -> [Database.ERD.Entity] -> AbstractCurry.Types.CurryProg
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms