packages feed

rest-wai 0.2 → 0.2.0.1

raw patch · 3 files changed

+11/−4 lines, 3 filesdep +base-compatdep ~http-typesdep ~rest-core

Dependencies added: base-compat

Dependency ranges changed: http-types, rest-core

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog +#### 0.2.0.1++* Allow rest-core-0.39.+ ## 0.2  * Breaking: `Applicative` and `Monad` constraint on `m` in
rest-wai.cabal view
@@ -1,5 +1,5 @@ name:                rest-wai-version:             0.2+version:             0.2.0.1 description:         Rest driver for WAI applications. synopsis:            Rest driver for WAI applications. maintainer:          code@silk.co@@ -23,13 +23,14 @@   exposed-modules:   Rest.Driver.Wai   build-depends:       base == 4.*+    , base-compat >= 0.8 && < 0.10     , bytestring == 0.10.*     , case-insensitive == 1.2.*     , containers >= 0.4 && < 0.6     , http-types >= 0.8 && < 0.10     , mime-types == 0.1.*     , mtl >= 2.0 && < 2.3-    , rest-core >= 0.35 && < 0.38+    , rest-core >= 0.35 && < 0.40     , text >= 0.11 && < 1.3     , unordered-containers == 0.2.*-    , wai >= 2.1 && < 3.1+    , wai >= 2.1 && < 3.3
src/Rest/Driver/Wai.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE     CPP   , GeneralizedNewtypeDeriving@@ -6,7 +7,8 @@   #-} module Rest.Driver.Wai (apiToApplication) where -import Control.Applicative+import Prelude.Compat+ import Control.Arrow ((***)) import Control.Monad.Trans (lift) import Network.HTTP.Types.Status (status200)