postgresql-binary 0.5.2 → 0.5.2.1
raw patch · 3 files changed
+9/−9 lines, 3 filesdep ~QuickCheckdep ~attoparsecdep ~criterion
Dependency ranges changed: QuickCheck, attoparsec, criterion
Files
- library/PostgreSQLBinary/Encoder/Builder.hs +1/−1
- library/PostgreSQLBinary/Numeric.hs +3/−3
- postgresql-binary.cabal +5/−5
library/PostgreSQLBinary/Encoder/Builder.hs view
@@ -60,7 +60,7 @@ numeric x = int16BE (fromIntegral componentsAmount) <> int16BE (fromIntegral pointIndex) <>- int16BE signCode <>+ word16BE signCode <> int16BE (fromIntegral trimmedExponent) <> foldMap int16BE components where
library/PostgreSQLBinary/Numeric.hs view
@@ -3,9 +3,9 @@ import PostgreSQLBinary.Prelude -posSignCode = 0x0000 :: Int16-negSignCode = 0x4000 :: Int16-nanSignCode = 0xC000 :: Int16+posSignCode :: Word16 = 0x0000+negSignCode :: Word16 = 0x4000+nanSignCode :: Word16 = 0xC000 {-# INLINE extractComponents #-} extractComponents :: Integral a => a -> [Int16]
postgresql-binary.cabal view
@@ -1,7 +1,7 @@ name: postgresql-binary version:- 0.5.2+ 0.5.2.1 synopsis: Encoders and decoders for the PostgreSQL's binary format description:@@ -66,7 +66,7 @@ PostgreSQLBinary.Decoder build-depends: -- parsers:- attoparsec >= 0.10 && < 0.13,+ attoparsec >= 0.10 && < 0.14, -- data: uuid == 1.3.*, time >= 1.4 && < 1.6,@@ -103,7 +103,7 @@ postgresql-binary, HTF == 0.12.*, quickcheck-instances == 0.3.*,- QuickCheck >= 2.7 && < 2.8,+ QuickCheck >= 2.7 && < 2.9, -- database: postgresql-libpq == 0.9.*, -- data:@@ -135,7 +135,7 @@ build-depends: postgresql-binary, -- benchmarking:- criterion == 1.0.*,+ criterion >= 1.0 && < 1.2, -- data: time >= 1.4 && < 1.6, scientific >= 0.2 && < 0.4,@@ -166,7 +166,7 @@ build-depends: postgresql-binary, -- benchmarking:- criterion == 1.0.*,+ criterion >= 1.0 && < 1.2, -- data: time >= 1.4 && < 1.6, scientific >= 0.2 && < 0.4,