Permalink
Browse files

Added template haskell for generating splices and forms

  • Loading branch information...
1 parent 75de659 commit dee723a71f9b49154c55769d2a140f33d782329b @mightybyte mightybyte committed Feb 12, 2013
Showing with 271 additions and 112 deletions.
  1. +4 −2 restful-snap.cabal
  2. +185 −110 src/Snap/Restful.hs
  3. +82 −0 src/Snap/Restful/TH.hs
View
@@ -19,20 +19,22 @@ library
exposed-modules:
Snap.Restful
+ Snap.Restful.TH
build-depends:
base >= 4 && < 5,
+ blaze-builder >= 0.3 && < 0.4,
bytestring >= 0.8 && < 0.11,
containers >= 0.4 && < 0.6,
data-default >= 0.5 && < 0.6,
digestive-functors >= 0.5 && < 0.6,
- ghc-prim >= 0.2 && < 0.4,
heist >= 0.11 && < 0.12,
mtl >= 2.0 && < 2.2,
old-locale >= 1.0 && < 1.1,
readable >= 0.1 && < 0.2,
snap-core >= 0.9 && < 0.10,
- snap >= 0.10 && < 0.11,
+ snap >= 0.11 && < 0.12,
+ template-haskell >= 2.8 && < 2.9,
text >= 0.11 && < 0.12,
time >= 1.4 && < 1.5,
xmlhtml >= 0.2 && < 0.3
Oops, something went wrong.

0 comments on commit dee723a

Please sign in to comment.