packages feed

indexation 0.3 → 0.3.0.1

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

indexation.cabal view
@@ -1,7 +1,7 @@ name:   indexation version:-  0.3+  0.3.0.1 category:   Data synopsis:@@ -15,7 +15,7 @@ author:   Nikita Volkov <nikita.y.volkov@mail.ru> maintainer:-  Metrix Ninjas <ninjas@metrix.ai>+  Metrix Tech Team <tech@metrix.ai> copyright:   (c) 2018, Metrix.AI license:
library/Indexation/IO.hs view
@@ -61,7 +61,7 @@ readEntitiesAmountFromEntityTableFile :: FilePath -> IO (Either IOException Int) readEntitiesAmountFromEntityTableFile filePath =   try $ do-    bytes <- withFile filePath ReadMode (flip ByteString.hGet 4)+    bytes <- withFile filePath ReadMode (flip ByteString.hGet 8)     Cereal.runGet Cereal.getInt64le bytes & \ case       Right x -> return (fromIntegral x)       Left x -> error ("Unexpected binary parsing error: " <> x)