Permalink
Browse files

Use WriteMode in withSinkFile

  • Loading branch information...
snoyberg committed Mar 18, 2018
1 parent b53400d commit 87e4c64300054014f1d3db1cbae4d67d5ca35292
Showing with 6 additions and 2 deletions.
  1. +4 −0 conduit/ChangeLog.md
  2. +1 −1 conduit/conduit.cabal
  3. +1 −1 conduit/src/Data/Conduit/Combinators.hs
View
@@ -1,3 +1,7 @@
## 1.3.0.2
* Replace `ReadMode` with `WriteMode` in `withSinkFile`
## 1.3.0.1
* Test suite compatibility with GHC 8.4.1 [#358](https://github.com/snoyberg/conduit/issues/358)
View
@@ -1,5 +1,5 @@
Name: conduit
Version: 1.3.0.1
Version: 1.3.0.2
Synopsis: Streaming data processing library.
description:
`conduit` is a solution to the streaming data problem, allowing for production,
@@ -672,7 +672,7 @@ withSinkFile
-> m a
withSinkFile fp inner =
withRunInIO $ \run ->
IO.withBinaryFile fp IO.ReadMode $
IO.withBinaryFile fp IO.WriteMode $
run . inner . sinkHandle
-- | Same as 'withSinkFile', but lets you use a 'BB.Builder'.

0 comments on commit 87e4c64

Please sign in to comment.