git.iko.soy/typeable/servant
on master help sign in
Changelog updates and 7.8 fixes.
commitcd7906d72e91d5049e534227d105305da5eacb04 authorJulian K. Arni <jkarni@gmail.com> dateMon 28 Sep 2015, 18:17 (11 years ago) parent7049383
3 files changed+9−2
servant-client/CHANGELOG.md+1 servant/CHANGELOG.md+1 servant/src/Servant/API/Alternative.hs+7−2
servant-client/CHANGELOG.md+1
@@ -3,6 +3,7 @@ HEAD
33
44* Support for the `HttpVersion`, `IsSecure`, `RemoteHost` and `Vault` combinators
55* Added support for `path` on `BaseUrl`.
6+* `client` now takes an explicit `Manager` argument.
67
780.4.1
89-----
servant/CHANGELOG.md+1
@@ -3,6 +3,7 @@ HEAD
33
44* Add `HttpVersion`, `IsSecure`, `RemoteHost` and `Vault` combinators
55* Fix safeLink, so Header is not in fact required.
6+* Added more instances for (:<|>)
67
780.4.2
89-----
servant/src/Servant/API/Alternative.hs+7−2
@@ -1,15 +1,20 @@
11{-# LANGUAGE CPP #-}
22{-# LANGUAGE DeriveDataTypeable #-}
33{-# LANGUAGE DeriveFunctor #-}
4+#if !MIN_VERSION_base(4,8,0)
5+{-# LANGUAGE DeriveFoldable #-}
6+#endif
47{-# LANGUAGE DeriveTraversable #-}
58{-# LANGUAGE TypeOperators #-}
69{-# OPTIONS_HADDOCK not-home #-}
710module Servant.API.Alternative ((:<|>)(..)) where
811
912#if !MIN_VERSION_base(4,8,0)
10−import Data.Monoid (Monoid (..))
13+import Data.Monoid (Monoid (..))
14+import Data.Traversable (Traversable)
15+import Data.Foldable (Foldable)
1116#endif
12−import Data.Typeable (Typeable)
17+import Data.Typeable (Typeable)
1318-- | Union of two APIs, first takes precedence in case of overlap.
1419--
1520-- Example: