on develop help sign in
Adding necessary servant re-exports
f0f3accBrendan Hay
core/gogol-core.cabal+2−1
@@ -43,8 +43,9 @@ library
43 build-depends:
43 build-depends:
44 base >= 4.7 && < 5
44 base >= 4.7 && < 5
45 , hashable
45 , hashable
46− , text
47 , lens
46 , lens
47+ , servant
48+ , text
48
49
49 if !impl(ghc>=7.9)
50 if !impl(ghc>=7.9)
50 build-depends:
51 build-depends:
core/src/Network/Google/Prelude.hs+11−9
@@ -14,16 +14,18 @@ module Network.Google.Prelude
14 , _Default
14 , _Default
15 ) where
15 ) where
16
16
17−import Control.Lens as Export (Lens', lens)
17+import Control.Lens as Export (Lens', lens)
18−import Control.Lens hiding (coerce)
18+import Control.Lens hiding (coerce)
19import Data.Coerce
19import Data.Coerce
20−import Data.Data as Export (Data, Typeable)
20+import Data.Data as Export (Data, Typeable)
21−import Data.Hashable as Export
21+import Data.Hashable as Export
22−import Data.Int as Export (Int32, Int64)
22+import Data.Int as Export (Int32, Int64)
23−import Data.Text as Export (Text)
23+import Data.Text as Export (Text)
24−import Data.Time as Export (UTCTime)
24+import Data.Time as Export (UTCTime)
25−import Data.Word as Export (Word32, Word64, Word8)
25+import Data.Word as Export (Word32, Word64, Word8)
26−import GHC.Generics as Export (Generic)
26+import GHC.Generics as Export (Generic)
27+import Numeric.Natural as Export (Natural)
28+import Servant.API as Export
27
29
28_Coerce :: (Coercible a b, Coercible b a) => Iso' a b
30_Coerce :: (Coercible a b, Coercible b a) => Iso' a b
29_Coerce = iso coerce coerce
31_Coerce = iso coerce coerce