hasql-th 0.4.0.1 → 0.4.0.2
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- hasql-th.cabal +1/−1
- library/Hasql/TH.hs +2/−2
hasql-th.cabal view
@@ -1,5 +1,5 @@ name: hasql-th-version: 0.4.0.1+version: 0.4.0.2 category: Hasql, Database, PostgreSQL, Template Haskell synopsis: Template Haskell utilities for Hasql description:
library/Hasql/TH.hs view
@@ -20,7 +20,7 @@ As you can see, it completely eliminates the need to mess with codecs. The quasiquoters directly produce `Statement`,- which you can then `dimap` over using its `Profunctor` instance to get to your domain types.+ which you can then `Data.Profunctor.dimap` over using its `Data.Profunctor.Profunctor` instance to get to your domain types. == Type mappings @@ -54,7 +54,7 @@ Array mappings are also supported. They are specified according to Postgres syntax: by appending one or more @[]@ to the primitive type, depending on how many dimensions the array has.- On the Haskell end array is mapped to generic `Data.Vector.Generic.Base.Vector`,+ On the Haskell end array is mapped to generic `Data.Vector.Generic.Vector`, allowing you to choose which particular vector implementation to map to. === Nulls