Update changelog
parent
be5a29cc19
commit
acb517b68a
|
@ -4,6 +4,7 @@
|
||||||
* Add `Control.Effect.Resource` and `Control.Carrier.Resource`, as ported from fused-effects 0.5.
|
* Add `Control.Effect.Resource` and `Control.Carrier.Resource`, as ported from fused-effects 0.5.
|
||||||
* Add `Control.Carrier.State.IORef` to help people migrating from other state carriers.
|
* Add `Control.Carrier.State.IORef` to help people migrating from other state carriers.
|
||||||
* Move `Control.Effect.Catch.CatchC` to `Control.Carrier.Catch` and simplify its internals.
|
* Move `Control.Effect.Catch.CatchC` to `Control.Carrier.Catch` and simplify its internals.
|
||||||
|
* Rename `catch` to `catchAsync` and `catchSync` to `catch`.
|
||||||
|
|
||||||
# 0.2.0.0
|
# 0.2.0.0
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ instance Effect Catch where
|
||||||
--
|
--
|
||||||
-- Unhandled errors are rethrown. Use 'Exc.SomeException' if you want to catch all errors.
|
-- Unhandled errors are rethrown. Use 'Exc.SomeException' if you want to catch all errors.
|
||||||
--
|
--
|
||||||
-- | @since 0.1.0.0
|
-- | @since 1.0.0.0
|
||||||
catchAsync :: (Member Catch sig, Carrier sig m, Exc.Exception e)
|
catchAsync :: (Member Catch sig, Carrier sig m, Exc.Exception e)
|
||||||
=> m a
|
=> m a
|
||||||
-> (e -> m a)
|
-> (e -> m a)
|
||||||
|
|
Loading…
Reference in New Issue