summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvanMiljenovic <>2018-05-23 01:02:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2018-05-23 01:02:00 (GMT)
commit3d8c68ac02ca393713eec8ccd1e39e867750f242 (patch)
treeeb6dc37f93fd22c305e7f923f07722f7fc68507e
parent239596bebfad726c4d7d7eb82ed56c6934794dc4 (diff)
version 0.2.2.00.2.2.0
-rw-r--r--ChangeLog.md4
-rw-r--r--src/Streaming/With.hs8
-rw-r--r--src/Streaming/With/Lifted.hs3
-rw-r--r--streaming-with.cabal6
4 files changed, 14 insertions, 7 deletions
diff --git a/ChangeLog.md b/ChangeLog.md
index bf738d6..e0d618c 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,5 +1,9 @@
# Revision history for streaming-with
+## 0.2.2.0 -- 2018-05-23
+
+* Actually export `liftThrow` from within `Streaming.With.Lifted`.
+
## 0.2.1.1 -- 2018-03-23
* Bump exceptions dependency
diff --git a/src/Streaming/With.hs b/src/Streaming/With.hs
index 48a5484..6233c1c 100644
--- a/src/Streaming/With.hs
+++ b/src/Streaming/With.hs
@@ -72,8 +72,8 @@ withBinaryFileContents fp f = withBinaryFile fp ReadMode (f . B.hGetContents)
--------------------------------------------------------------------------------
--- | /This is 'T.withSystemTempFile' from the @temporary@ package with
--- the continuation re-structured to only take one argument./
+-- | /This is 'T.withSystemTempFile' from the @temporary@ package/
+-- /with the continuation re-structured to only take one argument./
--
-- Create and use a temporary file in the system standard temporary
-- directory.
@@ -89,8 +89,8 @@ withSystemTempFile :: (MonadIO m, MonadMask m)
-> m r
withSystemTempFile template = T.withSystemTempFile template . curry
--- | /This is 'T.withTempFile' from the @temporary@ package with
--- the continuation re-structured to only take one argument./
+-- | /This is 'T.withTempFile' from the @temporary@ package with the/
+-- /continuation re-structured to only take one argument./
--
-- Use a temporary filename that doesn't already exist.
--
diff --git a/src/Streaming/With/Lifted.hs b/src/Streaming/With/Lifted.hs
index b703dae..c42ae24 100644
--- a/src/Streaming/With/Lifted.hs
+++ b/src/Streaming/With/Lifted.hs
@@ -40,6 +40,7 @@ module Streaming.With.Lifted
, RunWithable (..)
, within
, liftActionIO
+ , liftThrow
-- * File-handling
, withFile
, withBinaryFile
@@ -153,7 +154,7 @@ liftActionIO = liftAction . liftIO
--
-- @liftThrow = liftAction . throwM@.
--
--- @since 0.2.1.0
+-- @since 0.2.2.0
liftThrow :: (Withable w, Exception e) => e -> w a
liftThrow = liftAction . throwM
diff --git a/streaming-with.cabal b/streaming-with.cabal
index 73cd399..c3dbaf5 100644
--- a/streaming-with.cabal
+++ b/streaming-with.cabal
@@ -1,5 +1,5 @@
name: streaming-with
-version: 0.2.1.1
+version: 0.2.2.0
synopsis: with/bracket-style idioms for use with streaming
description:
This package provides the foundations for a continuation-based
@@ -13,7 +13,9 @@ category: Data, Streaming
build-type: Simple
extra-source-files: ChangeLog.md, README.md
cabal-version: >=1.10
-tested-with: GHC == 7.10.2, GHC == 8.0.2, GHC == 8.1.*
+tested-with: GHC == 7.10.2, GHC == 8.0.2, GHC == 8.2.2,
+ -- GHC == 8.4.1,
+ GHC == 8.5.*
source-repository head
type: git