mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-22 18:22:05 +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
|
MultiWayIf
|
||||||
NoImplicitPrelude
|
NoImplicitPrelude
|
||||||
NoMonomorphismRestriction
|
NoMonomorphismRestriction
|
||||||
OverloadedRecordDot
|
|
||||||
OverloadedStrings
|
OverloadedStrings
|
||||||
ParallelListComp
|
ParallelListComp
|
||||||
PatternGuards
|
PatternGuards
|
||||||
|
@ -33,8 +33,8 @@ sql =
|
|||||||
encoder :: Encoders.Params Params
|
encoder :: Encoders.Params Params
|
||||||
encoder =
|
encoder =
|
||||||
mconcat
|
mconcat
|
||||||
[ (.start) >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
[ start >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
||||||
(.end) >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
end >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
||||||
]
|
]
|
||||||
|
|
||||||
decoder :: Decoders.Result Result
|
decoder :: Decoders.Result Result
|
||||||
|
@ -33,8 +33,8 @@ sql =
|
|||||||
encoder :: Encoders.Params Params
|
encoder :: Encoders.Params Params
|
||||||
encoder =
|
encoder =
|
||||||
mconcat
|
mconcat
|
||||||
[ (.start) >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
[ start >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
||||||
(.end) >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
end >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
||||||
]
|
]
|
||||||
|
|
||||||
decoder :: Decoders.Result Result
|
decoder :: Decoders.Result Result
|
||||||
|
@ -33,8 +33,8 @@ sql =
|
|||||||
encoder :: Encoders.Params Params
|
encoder :: Encoders.Params Params
|
||||||
encoder =
|
encoder =
|
||||||
mconcat
|
mconcat
|
||||||
[ (.start) >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
[ start >$< Encoders.param (Encoders.nonNullable Encoders.int8),
|
||||||
(.end) >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
end >$< Encoders.param (Encoders.nonNullable Encoders.int8)
|
||||||
]
|
]
|
||||||
|
|
||||||
decoder :: Decoders.Result Result
|
decoder :: Decoders.Result Result
|
||||||
|
Loading…
Reference in New Issue
Block a user