streamly-bytestring 0.1.0.0 → 0.1.0.1
raw patch · 3 files changed
+37/−3 lines, 3 filesdep +base-compatdep +transformersPVP ok
version bump matches the API change (PVP)
Dependencies added: base-compat, transformers
API changes (from Hackage documentation)
Files
- Changelog.md +11/−0
- src/Streamly/External/ByteString.hs +5/−0
- streamly-bytestring.cabal +21/−3
Changelog.md view
@@ -0,0 +1,11 @@+# Changelog for streamly-bytestring++## Unreleased++## 0.1.0.1++* Fix build with ghc-8.0.2 and ghc-7.10.3 ([#6](https://github.com/psibi/streamly-bytestring/issues/5))++## 0.1.0.0++* Initial version released
src/Streamly/External/ByteString.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE RecordWildCards #-} module Streamly.External.ByteString@@ -13,7 +14,11 @@ import Control.Monad.IO.Class (MonadIO) import Data.ByteString.Internal (ByteString(..)) import Data.Word (Word8)+#if MIN_VERSION_base(4, 10, 0) import Foreign.ForeignPtr (plusForeignPtr)+#else+import Foreign.ForeignPtr.Compat (plusForeignPtr)+#endif import Foreign.ForeignPtr.Unsafe (unsafeForeignPtrToPtr) import GHC.Ptr (minusPtr, plusPtr) import Streamly.Internal.Memory.Array.Types (Array(..))
streamly-bytestring.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.1.+-- This file has been generated from package.yaml by hpack version 0.33.0. -- -- see: https://github.com/sol/hpack ----- hash: a905fe13f29d409f8faa63a7f3cb9bb337977bbc17c040e304969cba1c02a275+-- hash: 025212f67560e558928440828becf41e3f1e28c9e66cb82ac3e415918168f8e3 name: streamly-bytestring-version: 0.1.0.0+version: 0.1.0.1 synopsis: Library for streamly and bytestring interoperation. description: Please see the README on GitHub at <https://github.com/psibi/streamly-bytestring#readme> category: Streamly, Stream, ByteString@@ -40,6 +40,12 @@ base >=4.7 && <5 , bytestring >=0.10.0 && <0.11 , streamly >=0.7.0 && <0.8+ if impl(ghc < 8.1)+ build-depends:+ base-compat >=0.11+ if impl(ghc < 8)+ build-depends:+ transformers >=0.4 default-language: Haskell2010 test-suite sb-test@@ -62,6 +68,12 @@ , streamly , streamly-bytestring , temporary+ if impl(ghc < 8.1)+ build-depends:+ base-compat >=0.11+ if impl(ghc < 8)+ build-depends:+ transformers >=0.4 default-language: Haskell2010 benchmark sb-benchmark@@ -80,4 +92,10 @@ , random , streamly , streamly-bytestring+ if impl(ghc < 8.1)+ build-depends:+ base-compat >=0.11+ if impl(ghc < 8)+ build-depends:+ transformers >=0.4 default-language: Haskell2010