git.iko.soy/typeable/servant
on master help sign in
Merge pull request #110 from bgamari/master

Bump aeson bound

commit2725e20a1a219a9c394b1d3684e03ae3a1dc1ee1 authorJulian Arni <jkarni@gmail.com> dateWed 3 Jun 2015, 15:32 (11 years ago) parent0b3291974a52df
2 files changed+2−1
servant-server/servant-server.cabal+1−1 servant/src/Servant/API/Capture.hs+1
servant-server/servant-server.cabal+1−1
@@ -40,7 +40,7 @@ library
4040 Servant.Utils.StaticFiles
4141 build-depends:
4242 base >= 4.7 && < 5
43− , aeson >= 0.7 && < 0.9
43+ , aeson >= 0.7 && < 0.10
4444 , attoparsec >= 0.12 && < 0.14
4545 , bytestring >= 0.10 && < 0.11
4646 , either >= 4.3 && < 4.5
servant/src/Servant/API/Capture.hs+1
@@ -9,6 +9,7 @@ import GHC.TypeLits (Symbol)
99-- | Capture a value from the request path under a certain type @a@.
1010--
1111-- Example:
12+--
1213-- >>> -- GET /books/:isbn
1314-- >>> type MyApi = "books" :> Capture "isbn" Text :> Get '[JSON] Book
1415data Capture (sym :: Symbol) a