fast-builder 0.1.2.1 → 0.1.3.0
raw patch · 2 files changed
+4/−5 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- fast-builder.cabal +3/−3
- tests/prop.hs +1/−2
fast-builder.cabal view
@@ -1,5 +1,5 @@ name: fast-builder-version: 0.1.2.1+version: 0.1.3.0 synopsis: Fast ByteString Builder description: An efficient implementation of ByteString builder. It should be faster than the standard implementation in most cases.@@ -16,7 +16,7 @@ extra-source-files: benchmarks/aeson/*.hs benchmarks/aeson/*.json cabal-version: >=1.10-tested-with: GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.3 || ==8.10.1+tested-with: GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.3 || ==8.10.1 || ==9.0.1 library exposed-modules: Data.ByteString.FastBuilder,@@ -25,7 +25,7 @@ other-modules: Data.ByteString.FastBuilder.Internal.Prim -- other-extensions:- build-depends: base >= 4.8 && < 4.15, bytestring >= 0.10.6.0, ghc-prim+ build-depends: base >= 4.8 && < 4.16, bytestring >= 0.10.6.0, ghc-prim -- hs-source-dirs: default-language: Haskell2010 ghc-options: -Wall
tests/prop.hs view
@@ -1,7 +1,6 @@ {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-}- module Main where import Control.Concurrent@@ -94,7 +93,7 @@ buildWithBuilder drv = runBuilder drv . mkBuilder buildWithList :: BuilderTree -> BS.ByteString-buildWithList = BS.pack . ($[]) . go+buildWithList = BS.pack . ($ []) . go where go (Leaf p) = prim p go (Mappend a b) = go a . go b