Merge pull request #110 from bgamari/master

Bump aeson bound
This commit is contained in:
Julian Arni 2015-06-03 15:32:18 +02:00
commit 2725e20a1a
2 changed files with 2 additions and 1 deletions

View file

@ -40,7 +40,7 @@ library
Servant.Utils.StaticFiles Servant.Utils.StaticFiles
build-depends: build-depends:
base >= 4.7 && < 5 base >= 4.7 && < 5
, aeson >= 0.7 && < 0.9 , aeson >= 0.7 && < 0.10
, attoparsec >= 0.12 && < 0.14 , attoparsec >= 0.12 && < 0.14
, bytestring >= 0.10 && < 0.11 , bytestring >= 0.10 && < 0.11
, either >= 4.3 && < 4.5 , either >= 4.3 && < 4.5

View file

@ -9,6 +9,7 @@ import GHC.TypeLits (Symbol)
-- | Capture a value from the request path under a certain type @a@. -- | Capture a value from the request path under a certain type @a@.
-- --
-- Example: -- Example:
--
-- >>> -- GET /books/:isbn -- >>> -- GET /books/:isbn
-- >>> type MyApi = "books" :> Capture "isbn" Text :> Get '[JSON] Book -- >>> type MyApi = "books" :> Capture "isbn" Text :> Get '[JSON] Book
data Capture (sym :: Symbol) a data Capture (sym :: Symbol) a