lazy-async 1.0.0.2 → 1.0.0.3
raw patch · 3 files changed
+10/−6 lines, 3 filesdep ~basedep ~hedgehogdep ~rank2classesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base, hedgehog, rank2classes, transformers
API changes (from Hackage documentation)
- LazyAsync: newtype ContT (r :: k) (m :: k -> Type) a
+ LazyAsync: newtype () => ContT (r :: k) (m :: k -> Type) a
Files
- changelog.md +4/−0
- lazy-async.cabal +5/−5
- readme.md +1/−1
changelog.md view
@@ -1,3 +1,7 @@+### 1.0.0.3 (2025-01-21)++Version bumps+ ### 1.0.0.2 (2023-01-10) Support GHC 9.4
lazy-async.cabal view
@@ -1,7 +1,7 @@ cabal-version: 3.0 name: lazy-async-version: 1.0.0.2+version: 1.0.0.3 synopsis: Asynchronous actions that don't start right away category: Concurrency @@ -42,13 +42,13 @@ common dependencies build-depends:- , base ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17+ , base ^>= 4.18 || ^>= 4.19 , exceptions ^>= 0.10.4 , lifted-async ^>= 0.10.2 , monad-control ^>= 1.0.3- , rank2classes ^>= 1.4.4+ , rank2classes ^>= 1.5 , stm ^>= 2.5- , transformers ^>= 0.5.6+ , transformers ^>= 0.6 , transformers-base ^>= 0.4.6 library@@ -90,7 +90,7 @@ OverloadedStrings TemplateHaskell build-depends:- , hedgehog ^>= 1.0.5 || ^>= 1.1 || ^>= 1.2+ , hedgehog ^>= 1.3 || ^>= 1.4 || ^>= 1.5 , lazy-async , optics-core ^>= 0.4.1 , optics-th ^>= 0.4.1
readme.md view
@@ -10,7 +10,7 @@ Under the hood, an `IO` action is turned into a `LazyAsync` by constructing two things: An `Async` (from the [async] package), and a `TVar Bool` (from the [stm] package). The `TVar`, initialized to `False`, indicates whether the action is-wanted yet. The asynchronous thread waits until the `TVar` turns @True@ and then+wanted yet. The asynchronous thread waits until the `TVar` turns `True` and then runs the action. [async]: https://hackage.haskell.org/package/async