packages feed

sv-core 0.4.1 → 0.5

raw patch · 4 files changed

+19/−14 lines, 4 filesdep ~QuickCheckdep ~basedep ~lens

Dependency ranges changed: QuickCheck, base, lens, profunctors, trifecta

Files

changelog.md view
@@ -1,5 +1,11 @@ # Revision history for sv-core +## 0.5 -- 2019-08-13++* Change Decode to use lazy Writer.+  This allows the many combinator to work in infinite cases, such as the useful+  pattern `many ignore`, which ignores the rest of the columns.+ ## 0.4.1 -- 2019-04-02  * Add `displayErrors`, which pretty prints `DecodeErrors`.
src/Data/Sv/Decode/Core.hs view
@@ -132,7 +132,7 @@ import Control.Monad (unless) import Control.Monad.Reader (ReaderT (ReaderT, runReaderT)) import Control.Monad.State (state)-import Control.Monad.Writer.Strict (runWriter)+import Control.Monad.Writer (runWriter) import qualified Data.Attoparsec.ByteString as A import qualified Data.Attoparsec.ByteString.Char8 as AC8 import Data.Bifunctor (first, second)
src/Data/Sv/Decode/Type.hs view
@@ -30,7 +30,7 @@ import Control.DeepSeq (NFData) import Control.Monad.Reader (ReaderT (ReaderT, runReaderT), MonadReader, withReaderT) import Control.Monad.State (State, runState, state, MonadState)-import Control.Monad.Writer.Strict (Writer, writer, runWriter)+import Control.Monad.Writer (Writer, writer, runWriter) import Data.Functor.Alt (Alt ((<!>))) import Data.Functor.Apply (Apply) import Data.Functor.Bind (Bind ((>>-)))
sv-core.cabal view
@@ -1,5 +1,5 @@ name:                sv-core-version:             0.4.1+version:             0.5 license:             BSD3 license-file:        LICENCE author:              George Wilson@@ -25,11 +25,10 @@ build-type:          Simple extra-source-files:  changelog.md cabal-version:       >=1.10-tested-with:         GHC == 7.10.3-                     , GHC == 8.0.2+tested-with:         GHC == 8.0.2                      , GHC == 8.2.2                      , GHC == 8.4.4-                     , GHC == 8.6.4+                     , GHC == 8.6.5  source-repository    head   type:              git@@ -49,7 +48,7 @@   other-modules:       Data.Sv.Alien.Containers   -- other-extensions:       build-depends:       attoparsec >= 0.12.1.4 && < 0.14-                       , base >=4.8 && < 4.13+                       , base >=4.9 && < 4.13                        , bifunctors >= 5.1 && < 5.6                        , bytestring >= 0.9.1.10 && < 0.11                        , containers >= 0.4 && < 0.7@@ -59,15 +58,15 @@                        , lens >= 4 && < 4.18                        , mtl >= 2.0.1 && < 2.3                        , parsec >= 3.1 && < 3.2-                       , profunctors >= 5.2.1 && < 5.4+                       , profunctors >= 5.2.1 && < 5.5                        , readable >= 0.3 && < 0.4                        , semigroupoids >= 5 && < 5.4-                       , semigroups >= 0.18 && < 0.19+                       , semigroups >= 0.18 && < 0.20                        , text >= 1.0 && < 1.3                        , transformers >= 0.2 && < 0.6                        , trifecta >= 1.5 && < 2.1                        , utf8-string >= 1 && < 1.1-                       , validation >= 1 && < 1.1+                       , validation >= 1 && < 1.2                        , vector >= 0.10 && < 0.13                        , void >= 0.6 && < 0.8   hs-source-dirs:      src@@ -85,16 +84,16 @@   default-language:                        Haskell2010   build-depends:-                       base >=4.8 && < 4.13+                       base >=4.9 && < 4.13                        , bytestring >= 0.9.1.10 && < 0.11                        , semigroupoids >= 5 && < 5.4                        , sv-core-                       , profunctors >= 5 && < 5.4-                       , semigroups >= 0.18 && < 0.19+                       , profunctors >= 5 && < 5.5+                       , semigroups >= 0.18 && < 0.20                        , tasty >= 0.11 && < 1.3                        , tasty-quickcheck >= 0.9 && < 0.11                        , text >= 1.0 && < 1.3-                       , validation >= 1 && < 1.1+                       , validation >= 1 && < 1.2                        , vector >= 0.10 && < 0.13                        , QuickCheck >= 2.10 && < 2.14   ghc-options: