mtl-2.3.* no longer re-exports Control.Monad or Control.Monad.IO.Class from Control.Monad.RWS. This breaks some code in a vty example, so this patch adapts to the change by using explicit imports.
This is a prerequisite to making vty build with GHC 9.6, which bundles mtl-2.3.1.
mtl-2.3.*
no longer re-exportsControl.Monad
orControl.Monad.IO.Class
fromControl.Monad.RWS
. This breaks some code in avty
example, so this patch adapts to the change by using explicit imports.This is a prerequisite to making
vty
build with GHC 9.6, which bundlesmtl-2.3.1
.