mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2025-01-08 14:26:33 +03:00
Compatibility against bytestring-0.9.
This commit is contained in:
parent
88fc888009
commit
e0155333e0
@ -20,6 +20,7 @@ module Database.Relational.Query.Pure (
|
||||
ShowConstantTermsSQL (..)
|
||||
) where
|
||||
|
||||
import Data.Monoid (mconcat)
|
||||
import Data.Int (Int16, Int32, Int64)
|
||||
import Data.ByteString (ByteString)
|
||||
import qualified Data.ByteString.Lazy as LB
|
||||
@ -95,7 +96,7 @@ instance ShowConstantTermsSQL ByteString where
|
||||
|
||||
-- | Constant SQL terms of 'LB.ByteString'.
|
||||
instance ShowConstantTermsSQL LB.ByteString where
|
||||
showConstantTermsSQL = showConstantTermsSQL . LB.toStrict
|
||||
showConstantTermsSQL = showConstantTermsSQL . mconcat . LB.toChunks
|
||||
|
||||
-- | Constant SQL terms of 'Text'.
|
||||
instance ShowConstantTermsSQL Text where
|
||||
|
Loading…
Reference in New Issue
Block a user