fx 0.11.1.1 → 0.11.2
raw patch · 2 files changed
+4/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- fx.cabal +1/−1
- library/Fx/Scope.hs +3/−0
fx.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.4 name: fx-version: 0.11.1.1+version: 0.11.2 synopsis: Modular effectful computations with explicit environments and errors description: A lightweight library for writing effectful computations with explicit
library/Fx/Scope.hs view
@@ -49,6 +49,9 @@ let Scope m2 = handler err in m2 +instance MonadIO (Scope SomeException) where+ liftIO io = Scope (liftIO io >>= \env -> return (env, pure ()))+ -- | -- Create a scope from an acquiring effect. --