@@ -50,8 +50,6 @@ module Effectful.Dispatch.Static
53−import GHC.Stack (HasCallStack)
55import Effectful.Internal.Effect
53import Effectful.Internal.Effect
56import Effectful.Internal.Env
54import Effectful.Internal.Env
57import Effectful.Internal.Monad
55import Effectful.Internal.Monad
@@ -83,8 +81,5 @@ unsafeLiftMapIO f m = unsafeEff $ \es -> f (unEff m es)
84-- - Unlifted 'Eff' operations must not be run in a thread distinct from the
82-- - Unlifted 'Eff' operations must not be run in a thread distinct from the
85-- caller of 'unsafeUnliftIO', but it's not checked anywhere.
83-- caller of 'unsafeUnliftIO', but it's not checked anywhere.
88− => ((forall r. Eff es r -> IO r) -> IO a)
84+unsafeUnliftIO :: ((forall r. Eff es r -> IO r) -> IO a) -> Eff es a
90unsafeUnliftIO k = unsafeEff $ \es -> k (`unEff` es)
85unsafeUnliftIO k = unsafeEff $ \es -> k (`unEff` es)