Update Resource effect to what's in FE now.

main
Patrick Thomson 2019-10-15 17:00:36 -04:00
parent 8d2101ae5c
commit 65fa041be3
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ import Control.Monad.Trans.Class
-- | Executes a 'Resource' effect. Because this runs using 'MonadUnliftIO',
-- invocations of 'runResource' must happen at the "bottom" of a stack of
-- effect invocations, i.e. before the use of any monads that lack such
-- instances, such as 'Control.Carrier.State.IORef.StateC':
-- instances, such as 'StateC':
--
-- @
-- runM

View File

@ -15,7 +15,9 @@ module Control.Effect.Resource
, finally
, onException
-- * Re-exports
, Carrier
, Has
, run
) where
import Control.Carrier