digestive-functors-happstack 0.3.0.1 → 0.5.0.0
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~digestive-functorsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: digestive-functors
API changes (from Hackage documentation)
Files
digestive-functors-happstack.cabal view
@@ -1,5 +1,5 @@ Name: digestive-functors-happstack-Version: 0.3.0.1+Version: 0.5.0.0 Synopsis: Happstack backend for the digestive-functors library Description: Happstack backend for the digestive-functors library Homepage: http://github.com/jaspervdj/digestive-functors@@ -20,6 +20,6 @@ Build-depends: base >= 4 && < 5, bytestring >= 0.9 && < 0.10,- digestive-functors >= 0.3 && < 0.4,+ digestive-functors >= 0.5 && < 0.6, happstack-server >= 6.0 && < 7.1, text >= 0.11 && < 1.0
src/Text/Digestive/Happstack.hs view
@@ -32,5 +32,5 @@ -> m (View v, Maybe a) -- ^ Result runForm name form = Happstack.askRq >>= \rq -> case Happstack.rqMethod rq of- Happstack.GET -> return (getForm name form, Nothing)+ Happstack.GET -> getForm name form >>= \v -> return (v, Nothing) _ -> postForm name form happstackEnv