hongruiqi / happs

Automatically exported from code.google.com/p/happs
0 stars 0 forks source link

Add TH code to generate mkCommands as in HAppS.Store.FlashMsgs #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add Template Haskell so that Store modules don't have to declare HasFoo
classes manually.  Instead the format is

$(mkCommands "FlashMsgs" [|

   setFlashMsg uid msg = ...
   getFlashMsg uid = ...

 |]

See HApPS.Store.FlashMsgs

Original issue reported on code.google.com by shae.eri...@gmail.com on 16 Oct 2007 at 1:44

GoogleCodeExporter commented 8 years ago
It would be nice if the user could pass a Cron handler in mkCommands. -- alex

Original comment by shae.eri...@gmail.com on 16 Oct 2007 at 1:46

GoogleCodeExporter commented 8 years ago

Original comment by shae.eri...@gmail.com on 16 Oct 2007 at 11:25

GoogleCodeExporter commented 8 years ago
change in entire structure of happs-state means that this is now obsolete.

Original comment by alexande...@gmail.com on 14 Jan 2008 at 8:45