mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-22 10:05:27 +03:00
Ditch OverloadedRecordDot for compatiblity with GHC <9.2
This commit is contained in:
parent
1544e3d783
commit
f99f7797a3
@ -53,7 +53,6 @@ common base
|
||||
MultiWayIf
|
||||
NoImplicitPrelude
|
||||
NoMonomorphismRestriction
|
||||
OverloadedRecordDot
|
||||
OverloadedStrings
|
||||
ParallelListComp
|
||||
PatternGuards
|
||||
|
@ -33,8 +33,8 @@ sql =
|
||||
encoder :: Encoders.Params Params
|
||||
encoder =
|
||||
mconcat
|
||||
[ (.start) >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
||||
(.end) >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
||||
[ start >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
||||
end >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
||||
]
|
||||
|
||||
decoder :: Decoders.Result Result
|
||||
|
@ -33,8 +33,8 @@ sql =
|
||||
encoder :: Encoders.Params Params
|
||||
encoder =
|
||||
mconcat
|
||||
[ (.start) >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
||||
(.end) >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
||||
[ start >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
||||
end >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
||||
]
|
||||
|
||||
decoder :: Decoders.Result Result
|
||||
|
@ -33,8 +33,8 @@ sql =
|
||||
encoder :: Encoders.Params Params
|
||||
encoder =
|
||||
mconcat
|
||||
[ (.start) >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
||||
(.end) >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
||||
[ start >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
||||
end >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
||||
]
|
||||
|
||||
decoder :: Decoders.Result Result
|
||||
|
Loading…
Reference in New Issue
Block a user