Use strict state monad everywhere we use a state monad

This commit is contained in:
Jonathan Daugherty 2022-07-17 09:25:13 -07:00
parent f2f8013d63
commit 49797717ab
5 changed files with 5 additions and 5 deletions

View File

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

View File

@ -109,7 +109,7 @@ import Control.Monad.Catch (MonadThrow, MonadCatch, MonadMask)
#if !MIN_VERSION_base(4,13,0)
import Control.Monad.Fail (MonadFail)
#endif
import Control.Monad.State.Lazy
import Control.Monad.State.Strict
import Control.Monad.Reader
import Graphics.Vty (Attr)

View File

@ -83,7 +83,7 @@ module Brick.Types.Internal
where
import Control.Monad.Reader
import Control.Monad.State.Lazy
import Control.Monad.State.Strict
import Lens.Micro (_1, _2, Lens')
import Lens.Micro.Mtl (use)
import Lens.Micro.TH (makeLenses)

View File

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

View File

@ -10,7 +10,7 @@ where
import Lens.Micro ((^.), (&), (%~))
import Lens.Micro.Mtl ((%=))
import Control.Monad.State.Lazy
import Control.Monad.State.Strict
import Control.Monad.Reader
import Data.Maybe (fromMaybe)
import qualified Data.Map as M