mirror of
https://github.com/haskell-effectful/effectful.git
synced 2024-11-23 14:36:11 +03:00
Fix CI
This commit is contained in:
parent
7295642c78
commit
209f61507b
@ -42,8 +42,8 @@ listen
|
||||
-> Eff es (a, w)
|
||||
listen (Eff m) = unsafeEff $ \es -> mask $ \restore -> do
|
||||
#if __GLASGOW_HASKELL__ >= 900
|
||||
error "'listen' temporarily doesn't compile with released GHC 9.* versions \
|
||||
\due to a GHC bug. If you want to use 'listen', please use GHC 8.*"
|
||||
error $ "'listen' temporarily doesn't compile with released GHC 9.* versions"
|
||||
++ " due to a GHC bug. If you want to use 'listen', please use GHC 8.*"
|
||||
#else
|
||||
w0 <- unsafeStateEnv (\(IdE (Writer w)) -> (w, IdE (Writer mempty))) es
|
||||
-- If an exception is thrown, restore e0 and keep parts of e1.
|
||||
|
Loading…
Reference in New Issue
Block a user