summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqfpl <>2019-08-13 05:39:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-08-13 05:39:00 (GMT)
commitcf7a6ac14a9263a836f8c6b18a5537496797f00b (patch)
treebadc31cd0fa5ced2a8151653a16ca4602ec1f7aa
parent6338e157e67f93c4add10395e5c6e0f3347965e9 (diff)
version 1.4HEAD1.4master
-rw-r--r--bench/bench.hs3
-rwxr-xr-xchangelog.md4
-rw-r--r--sv.cabal25
3 files changed, 19 insertions, 13 deletions
diff --git a/bench/bench.hs b/bench/bench.hs
index bb26624..e3c162f 100644
--- a/bench/bench.hs
+++ b/bench/bench.hs
@@ -1,3 +1,5 @@
+{-# language OverloadedStrings #-}
+
module Main (main) where
import Control.Lens ((&), (.~))
@@ -23,6 +25,7 @@ main =
, bench "read double" $ nf (pd (D.read :: Decode' BS.ByteString Double)) doublesC
, bench "float" $ nf (pd D.float) doublesC
, bench "read float" $ nf (pd (D.read :: Decode' BS.ByteString Float)) doublesC
+ , bench "many" $ nf (parseDecode (D.utf8 <* many D.utf8) opts) "a\na"
]
doubles :: LBS.ByteString
diff --git a/changelog.md b/changelog.md
index 235981c..4d39d14 100755
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,9 @@
# Revision history for sv
+## 1.4 -- 2019-08-13
+
+* Update to sv-core 0.5
+
## 1.3.1 -- 2019-04-02
* Update to sv-core 0.4.1
diff --git a/sv.cabal b/sv.cabal
index 2e9343f..1e67b7b 100644
--- a/sv.cabal
+++ b/sv.cabal
@@ -1,5 +1,5 @@
name: sv
-version: 1.3.1
+version: 1.4
license: BSD3
license-file: LICENCE
author: George Wilson
@@ -73,11 +73,10 @@ bug-reports: https://github.com/qfpl/sv/issues
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
@@ -91,17 +90,17 @@ library
, Data.Sv.Structure
other-modules: Data.Sv.Alien.Cassava
-- other-extensions:
- build-depends: base >=4.8 && < 4.13
+ build-depends: base >=4.9 && < 4.13
, attoparsec >= 0.12.1.4 && < 0.14
, bifunctors >= 5.1 && < 5.6
, bytestring >= 0.9.1.10 && < 0.11
, contravariant >= 1.2 && < 1.6
, hw-dsv >= 0.2.1 && < 0.4
, semigroupoids >= 5 && < 5.4
- , sv-core == 0.4.1.*
+ , sv-core == 0.5.*
, transformers >= 0.2 && < 0.6
, utf8-string >= 1 && < 1.1
- , validation >= 1 && < 1.1
+ , validation >= 1 && < 1.2
hs-source-dirs: src
default-language: Haskell2010
ghc-options:
@@ -120,24 +119,24 @@ test-suite tasty
default-language:
Haskell2010
build-depends:
- base >=4.8 && < 4.13
+ base >=4.9 && < 4.13
, bytestring >= 0.9.1.10 && < 0.11
, cassava >= 0.4.1 && < 0.6
, contravariant >= 1.2 && < 1.6
- , hedgehog >= 0.5 && < 0.7
+ , hedgehog >= 0.5 && < 1.1
, lens >= 4 && < 4.18
, parsers >=0.12 && <0.13
, Only >= 0.1 && < 0.2
, semigroupoids >= 5 && < 5.4
- , semigroups >= 0.18 && < 0.19
+ , semigroups >= 0.18 && < 0.20
, sv
, tasty >= 0.11 && < 1.3
- , tasty-hedgehog >= 0.1 && < 0.3
+ , tasty-hedgehog >= 0.1 && < 1.1
, tasty-hunit >= 0.9 && < 0.11
, text >= 1.0 && < 1.3
, trifecta >= 1.5 && < 2.1
, utf8-string >= 1 && < 1.1
- , validation >= 1 && < 1.1
+ , validation >= 1 && < 1.2
, vector >= 0.10 && < 0.13
ghc-options:
-Wall
@@ -153,7 +152,7 @@ benchmark criterion
Haskell2010
build-depends:
attoparsec >= 0.12.1.4 && < 0.14
- , base >=4.8 && < 4.13
+ , base >=4.9 && < 4.13
, bytestring >= 0.9.1.10 && < 0.11
, criterion >= 1.3 && < 1.6
, deepseq >= 1.1 && < 1.5