We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bd5261 commit c6c1f3fCopy full SHA for c6c1f3f
example/Main.hs
@@ -1,17 +1,17 @@
1
module Main where
2
3
+import Data.Char
4
import Data.Text (Text)
5
import Data.Time
6
import Database.PostgreSQL.Query
-import Text.Inflections
7
8
-- | Example enum type to check out how 'derivePgEnum' works
9
data Species
10
= Dog
11
| Cat
12
| Snake
13
14
-derivePgEnum toUnderscore ''Species
+derivePgEnum (map toLower) ''Species
15
16
-- | Example structure to check out how 'deriveFromRow' works
17
data AnimalInfo = AnimalInfo
postgresql-query.cabal
@@ -145,7 +145,6 @@ test-suite example
145
, TemplateHaskell
146
147
build-depends: base
148
- , inflections
149
, postgresql-query
150
, text
151
, time
0 commit comments