]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/Database/Schema/Prelude.hs
[zip] implement zip for parsers
[gargantext.git] / src / Gargantext / Database / Schema / Prelude.hs
1 {-|
2 Module : Gargantext.Database.Prelude
3 Description :
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
8 Portability : POSIX
9 -}
10
11
12
13 module Gargantext.Database.Schema.Prelude
14 ( module Control.Arrow
15 , module Control.Lens.TH
16 , module Data.Aeson.TH
17 , module Data.Profunctor.Product.TH
18 , module Data.Swagger
19 , module Database.PostgreSQL.Simple.FromField
20 , module Database.PostgreSQL.Simple.FromRow
21 , module Database.PostgreSQL.Simple.SqlQQ
22 , module Database.PostgreSQL.Simple.ToField
23 , module Database.PostgreSQL.Simple.ToRow
24 , module Database.PostgreSQL.Simple.Types
25 , module GHC.Generics
26 , module Gargantext.Core.Utils.Prefix
27 , module Opaleye
28 , module Opaleye.Internal.Table
29 , module Opaleye.Internal.QueryArr
30 , module Test.QuickCheck.Arbitrary
31 )
32 where
33
34 import Control.Arrow (returnA)
35 import Control.Lens.TH (makeLenses, makeLensesWith, abbreviatedFields)
36 import Data.Aeson.TH (deriveJSON)
37 import Data.Profunctor.Product.TH (makeAdaptorAndInstance)
38 import Data.Swagger hiding (required, in_)
39 import GHC.Generics (Generic)
40 import Gargantext.Core.Utils.Prefix (unPrefix, unPrefixSwagger)
41 import Opaleye hiding (FromField)
42 import Opaleye.Internal.QueryArr (Query)
43 import Opaleye.Internal.Table (Table(..))
44 import Test.QuickCheck.Arbitrary hiding (vector)
45
46 import Database.PostgreSQL.Simple.FromField (FromField, fromField)
47 import Database.PostgreSQL.Simple.FromRow (FromRow, fromRow, field)
48 import Database.PostgreSQL.Simple.SqlQQ (sql)
49 import Database.PostgreSQL.Simple.ToField (toField, ToField)
50 import Database.PostgreSQL.Simple.ToRow (toRow)
51 import Database.PostgreSQL.Simple.Types (Values(..), QualifiedIdentifier(..))
52