unsafe-promises 0.0.1 → 0.0.1.1
raw patch · 2 files changed
+4/−9 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
Control/Concurrent/Promise/Unsafe.hs view
@@ -36,9 +36,9 @@ return c -- |Forks an IO computation as a thread and immediately returns --- a lazy future. Evaluating the future before the thread completes--- causes it to wait for a result. If the thread halts with a thrown exception,--- then evaluating the future will re-throw the exception.+-- an IO computation that results in a lazy future. Evaluating the future before+-- the thread completes causes it to wait for a result. If the thread halts with+-- a thrown exception, then evaluating the future will re-throw the exception. promise :: IO a -> IO a promise io = head <$> promises [io]
unsafe-promises.cabal view
@@ -1,5 +1,5 @@ Name: unsafe-promises-Version: 0.0.1+Version: 0.0.1.1 Cabal-Version: >= 1.6 License: BSD3 License-File: LICENSE@@ -12,11 +12,6 @@ Description: An experimental library for creating promises that can be evaluated in pure code.--source-repository this- type: git- location: git://github.com/kallisti-dev/unsafe-promises.git- tag: 0.0 source-repository head type: git