ghc-7.8.3 で ghc-mtl-1.2.1.0 をビルドしようとしていますが、次のエラー メッセージが表示されます。
Control/Monad/Ghc.hs:42:15:
No instance for (GHC.MonadIO Ghc)
arising from the 'deriving' clause of a data type declaration
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
When deriving the instance for (GHC.ExceptionMonad Ghc)
Control/Monad/Ghc.hs:46:15:
No instance for (MonadIO GHC.Ghc)
arising from the 'deriving' clause of a data type declaration
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
When deriving the instance for (MonadIO Ghc)
Control/Monad/Ghc.hs:49:15:
No instance for (GHC.MonadIO Ghc)
arising from the 'deriving' clause of a data type declaration
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
When deriving the instance for (GHC.GhcMonad Ghc)
ghc-7.8.2 と同じエラー。
Ghc
and/or GHC
and /or と呼ばれる 9000 を超えるタイプやモジュールのどれがMonadIO
これに関与しているかを突き止めようとしましたが、今のところうまくいきません。
だから私の質問は:
- この破損の原因となる変化は何ですか?
- 7.8.3 からダウングレードせずに修正することはできますか?