Ditch OverloadedRecordDot for compatiblity with GHC <9.2

This commit is contained in:
Nikita Volkov 2024-04-22 09:58:30 +03:00
parent 1544e3d783
commit f99f7797a3
4 changed files with 6 additions and 7 deletions

View File

@ -53,7 +53,6 @@ common base
MultiWayIf
NoImplicitPrelude
NoMonomorphismRestriction
OverloadedRecordDot
OverloadedStrings
ParallelListComp
PatternGuards

View File

@ -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

View File

@ -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

View File

@ -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