postgresql-common 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+7/−4 lines, 2 files
Files
postgresql-common.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 4c369b6db498a176311e660d7eb0528d548c5f9e7f244fd667b4b4af76d6e669+-- hash: 7f883f30e3672c91761e447a327c42803467da6f90cba3e7f75b88be275f4a8a name: postgresql-common-version: 0.1.0.0+version: 0.1.0.1 synopsis: Library for sharing common PostgreSQL types across Haskell PostgreSQL libraries. description: Please see the README on GitHub at <https://github.com/iand675/postgresql-common#readme> homepage: https://github.com/iand675/postgresql-common#readme
src/Database/PostgreSQL/Types/LSN.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE BangPatterns #-} module Database.PostgreSQL.Types.LSN ( LSN(..) -- * Utilities@@ -14,8 +15,10 @@ import Data.Word import Data.Attoparsec.ByteString.Char8 --- TODO Ord instance-data LSN = LSN !Word32 {- ^ Filepart -} !Word32 {- ^ Offset -}+data LSN = LSN+ { filepart :: !Word32 -- ^ Filepart+ , offset :: !Word32 -- ^ Offset+ } deriving (Show, Eq) instance Ord LSN where