unliftio 0.2.12 → 0.2.12.1
raw patch · 3 files changed
+39/−35 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- src/UnliftIO/Exception.hs +3/−3
- unliftio.cabal +32/−32
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for unliftio +## 0.2.12.1++* Minor doc improvements+ ## 0.2.12 * Dropped support for ghc-7.8
src/UnliftIO/Exception.hs view
@@ -9,7 +9,7 @@ -- -- This module works best when your cleanup functions adhere to certain -- expectations around exception safety and interruptible actions.--- For more details, see [this exception safety tutorial](https://haskell-lang.org/tutorial/exception-safety).+-- For more details, see [this exception safety tutorial](https://haskell.fpcomplete.com/tutorial/exceptions). module UnliftIO.Exception ( -- * Throwing throwIO@@ -533,7 +533,7 @@ -- | @since 0.1.0.0 instance Show StringException where show (StringException s cs) = concat- $ "Control.Exception.Safe.throwString called with:\n\n"+ $ "UnliftIO.Exception.throwString called with:\n\n" : s : "\nCalled from:\n" : map go (getCallStack cs)@@ -551,7 +551,7 @@ -- | @since 0.1.0.0 instance Show StringException where- show (StringException s _) = "Control.Exception.Safe.throwString called with:\n\n" ++ s+ show (StringException s _) = "UnliftIO.Exception.throwString called with:\n\n" ++ s #endif -- | @since 0.1.0.0
unliftio.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.2.+-- This file has been generated from package.yaml by hpack version 0.33.0. -- -- see: https://github.com/sol/hpack ----- hash: 55a1160a6cc39aa1529ed95fe90e85ac31d632ee8ea1f31f06cb77bd2502de5b+-- hash: 8b1984c98016e38f78537ddb97b34bf8d25ab93ad8a47c64ad675dc6f20f62c4 name: unliftio-version: 0.2.12+version: 0.2.12.1 synopsis: The MonadUnliftIO typeclass for unlifting monads to IO (batteries included) description: Please see the documentation and README at <https://www.stackage.org/package/unliftio> category: Control@@ -23,6 +23,27 @@ ChangeLog.md library+ exposed-modules:+ UnliftIO+ UnliftIO.Async+ UnliftIO.Chan+ UnliftIO.Concurrent+ UnliftIO.Directory+ UnliftIO.Environment+ UnliftIO.Exception+ UnliftIO.Foreign+ UnliftIO.Internals.Async+ UnliftIO.IO+ UnliftIO.IO.File+ UnliftIO.IORef+ UnliftIO.Memoize+ UnliftIO.MVar+ UnliftIO.Process+ UnliftIO.STM+ UnliftIO.Temporary+ UnliftIO.Timeout+ other-modules:+ Paths_unliftio hs-source-dirs: src ghc-options: -fwarn-incomplete-uni-patterns@@ -62,32 +83,19 @@ c-sources: cbits/file-posix.c cbits/time-posix.c- exposed-modules:- UnliftIO- UnliftIO.Async- UnliftIO.Chan- UnliftIO.Concurrent- UnliftIO.Directory- UnliftIO.Environment- UnliftIO.Exception- UnliftIO.Foreign- UnliftIO.Internals.Async- UnliftIO.IO- UnliftIO.IO.File- UnliftIO.IORef- UnliftIO.Memoize- UnliftIO.MVar- UnliftIO.Process- UnliftIO.STM- UnliftIO.Temporary- UnliftIO.Timeout- other-modules:- Paths_unliftio default-language: Haskell2010 test-suite unliftio-spec type: exitcode-stdio-1.0 main-is: Spec.hs+ other-modules:+ UnliftIO.AsyncSpec+ UnliftIO.ExceptionSpec+ UnliftIO.IO.FileSpec+ UnliftIO.IOSpec+ UnliftIO.MemoizeSpec+ UnliftIO.PooledAsyncSpec+ Paths_unliftio hs-source-dirs: test build-depends:@@ -111,14 +119,6 @@ else build-depends: unix- other-modules:- UnliftIO.AsyncSpec- UnliftIO.ExceptionSpec- UnliftIO.IO.FileSpec- UnliftIO.IOSpec- UnliftIO.MemoizeSpec- UnliftIO.PooledAsyncSpec- Paths_unliftio default-language: Haskell2010 benchmark conc-bench