monad-resumption 0.1.1.0 → 0.1.1.1
raw patch · 3 files changed
+6/−4 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
- Control/Monad/Resumption/Reactive.hs +2/−1
- README.md +2/−0
- monad-resumption.cabal +2/−3
Control/Monad/Resumption/Reactive.hs view
@@ -1,3 +1,4 @@+{-#LANGUAGE BangPatterns #-} -- | A reactive resumption monad transformer, based on the formulation in -- the article <http://people.cs.missouri.edu/~harrisonwl/drafts/CheapThreads.pdf Cheap (But Functional) Threads> -- by William L. Harrison and Adam Procter.@@ -57,6 +58,6 @@ inner <- r case inner of Left a -> return a- Right (output,fr) -> do+ Right (!output,!fr) -> do next_input <- handler output runReacT (fr next_input) handler
README.md view
@@ -2,3 +2,5 @@ ================= This library implements resumption and reactive resumption monads for use in resumption-passing style programming in Haskell. For more information on the basis behind Resumptions in Haskell, [Cheap (But Functional) Threads](http://people.cs.missouri.edu/~harrisonwl/drafts/CheapThreads.pdf) is an advisable read.++For additional reading, you can also consult this [blog post](ian.grav.es/monad-profile-reactive-resumption/).
monad-resumption.cabal view
@@ -2,10 +2,9 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: monad-resumption-version: 0.1.1.0+version: 0.1.1.1 synopsis: Resumption and reactive resumption monads for Haskell. description: This package contains the definitions of Resumption and Reactive Resumption Monads. - These monads can be used to construct structures such as coroutines and iteratees. homepage: https://github.com/igraves/resumption_monads license: BSD3 license-file: LICENSE@@ -26,6 +25,6 @@ Control.Monad.Resumption.Reactive -- other-modules: -- other-extensions: - build-depends: base >=4.6 && <4.7, transformers, mtl+ build-depends: base >=4.6 && <= 4.8, transformers, mtl -- hs-source-dirs: default-language: Haskell2010