packages feed

postgresql-binary 0.7.5.1 → 0.7.6

raw patch · 2 files changed

+9/−1 lines, 2 files

Files

library/PostgreSQL/Binary/Decoder.hs view
@@ -3,6 +3,7 @@   Decoder,   run,   -- * Primitive+  fn,   int,   float4,   float8,@@ -102,6 +103,13 @@  -- * Primitive -------------------------++-- |+-- Lifts a custom decoder implementation.+{-# INLINE fn #-}+fn :: (ByteString -> Either Text a) -> Decoder a+fn fn =+  BinaryParser.remainders >>= either BinaryParser.failure return . fn  {-# INLINE int #-} int :: (Integral a, Bits a) => Decoder a
postgresql-binary.cabal view
@@ -1,7 +1,7 @@ name:   postgresql-binary version:-  0.7.5.1+  0.7.6 synopsis:   Encoders and decoders for the PostgreSQL's binary format description: