jtdaugherty / vty

A high-level ncurses alternative written in Haskell
BSD 3-Clause "New" or "Revised" License
320 stars 57 forks source link

Support building with `mtl-2.3.*` #256

Closed RyanGlScott closed 1 year ago

RyanGlScott commented 1 year ago

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.

jtdaugherty commented 1 year ago

Thank you!