Building library for mstate-0.2.8..
[1 of 1] Compiling Control.Concurrent.MState ( src/Control/Concurrent/MState.hs, /home/l29ah/projects/mstate/dist-newstyle/build/x86_64-linux/ghc-9.8.3/mstate-0.2.8/build/Control/Concurrent/MState.o, /home/l29ah/projects/mstate/dist-newstyle/build/x86_64-linux/ghc-9.8.3/mstate-0.2.8/build/Control/Concurrent/MState.dyn_o ) [Source file changed]
src/Control/Concurrent/MState.hs:256:11: error: [GHC-76037]
Not in scope: type constructor or class ‘MonadFix’
Suggested fix:
Perhaps use ‘MonadFail’ (imported from Control.Monad)
|
256 | instance (MonadFix m) => MonadFix (MState t m) where
| ^^^^^^^^
src/Control/Concurrent/MState.hs:256:26: error: [GHC-76037]
Not in scope: type constructor or class ‘MonadFix’
Suggested fix:
Perhaps use ‘MonadFail’ (imported from Control.Monad)
|
256 | instance (MonadFix m) => MonadFix (MState t m) where
| ^^^^^^^^
Error: cabal: Failed to build mstate-0.2.8.
Trying to build git master: