on dev help sign in
stack & cabal

and RowType in composite

commit3b65e8f8e3b215f0b265b47ee90f8b66d5b7b0ad authorEitan Chatav <eitan.chatav@gmail.com> dateWed 5 Sep 2018, 16:12 (8 years ago) parent5109f95
3 files changed+2−5
squeal-postgresql/squeal-postgresql.cabal−1 squeal-postgresql/src/Squeal/PostgreSQL/Schema.hs+1−1 stack.yaml+1−3
squeal-postgresql/squeal-postgresql.cabal−1
@@ -50,7 +50,6 @@ library
5050 , network-ip >= 0.3.0.2
5151 , postgresql-binary >= 0.12.1
5252 , postgresql-libpq >= 0.9.4.1
53− , profunctors >= 5.2.2
5453 , records-sop >= 0.1.0.0
5554 , resource-pool >= 0.2.3.2
5655 , scientific >= 0.3.5.3
squeal-postgresql/src/Squeal/PostgreSQL/Schema.hs+1−1
@@ -179,7 +179,7 @@ data PGType
179179 | PGvararray NullityType -- ^ variable length array
180180 | PGfixarray Nat NullityType -- ^ fixed length array
181181 | PGenum [Symbol] -- ^ enumerated (enum) types are data types that comprise a static, ordered set of values.
182− | PGcomposite [(Symbol, NullityType)] -- ^ a composite type represents the structure of a row or record; it is essentially just a list of field names and their data types.
182+ | PGcomposite RowType -- ^ a composite type represents the structure of a row or record; it is essentially just a list of field names and their data types.
183183 | UnsafePGType Symbol -- ^ an escape hatch for unsupported PostgreSQL types
184184
185185-- | The object identifier of a `PGType`.
stack.yaml+1−3
@@ -1,5 +1,3 @@
1−resolver: lts-11.15
1+resolver: nightly-2018-09-03
22packages:
33- squeal-postgresql
4−extra-deps:
5−- records-sop-0.1.0.0