compatibility with mtl-2.3

This commit is contained in:
Daniel Firth 2023-01-19 12:44:49 +00:00
parent eb39b2302e
commit 0c0988f62e
3 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,7 @@ where
import qualified Control.Exception as E import qualified Control.Exception as E
import Lens.Micro ((^.), (&), (.~), (%~), _1, _2) import Lens.Micro ((^.), (&), (.~), (%~), _1, _2)
import Control.Monad
import Control.Monad.State.Strict import Control.Monad.State.Strict
import Control.Monad.Reader import Control.Monad.Reader
import Control.Concurrent (forkIO, killThread) import Control.Concurrent (forkIO, killThread)

View File

@ -122,6 +122,7 @@ import Data.Monoid ((<>))
import Lens.Micro ((^.), (.~), (&), (%~), to, _1, _2, each, to, Lens') import Lens.Micro ((^.), (.~), (&), (%~), to, _1, _2, each, to, Lens')
import Lens.Micro.Mtl (use, (%=)) import Lens.Micro.Mtl (use, (%=))
import Control.Monad
import Control.Monad.State.Strict import Control.Monad.State.Strict
import Control.Monad.Reader import Control.Monad.Reader
import qualified Data.Foldable as F import qualified Data.Foldable as F

View File

@ -10,6 +10,7 @@ where
import Lens.Micro ((^.), (&), (%~)) import Lens.Micro ((^.), (&), (%~))
import Lens.Micro.Mtl ((%=)) import Lens.Micro.Mtl ((%=))
import Control.Monad
import Control.Monad.State.Strict import Control.Monad.State.Strict
import Control.Monad.Reader import Control.Monad.Reader
import Data.Maybe (fromMaybe, mapMaybe) import Data.Maybe (fromMaybe, mapMaybe)