packages feed

simple 0.11.1 → 0.11.2

raw patch · 2 files changed

+6/−2 lines, 2 files

Files

simple.cabal view
@@ -1,5 +1,5 @@ name:                simple-version:             0.11.1+version:             0.11.2 synopsis: A minimalist web framework for the WAI server interface description: @@ -127,4 +127,3 @@ source-repository head   type: git   location: http://github.com/alevy/simple.git-
src/Web/Frank.hs view
@@ -26,6 +26,7 @@   ( get   , post   , put+  , patch   , delete   , options   ) where@@ -51,6 +52,10 @@ -- | Matches the PUT method on the given URL pattern put :: Monad m => Text -> ControllerT s m a -> ControllerT s m () put = frankMethod PUT++-- | Matches the PATCH method on the given URL pattern+patch :: Monad m => Text -> ControllerT s m a -> ControllerT s m ()+patch = frankMethod PATCH  -- | Matches the DELETE method on the given URL pattern delete :: Monad m => Text -> ControllerT s m a -> ControllerT s m ()