Commit 6472042b authored by Ben Gamari's avatar Ben Gamari 🐢

Base: Reexport `MonadTrans` instead of `Reader`

The former is much more common than the latter.
parent f05d78d9
......@@ -2,11 +2,11 @@ module Base (
-- * General utilities
module Control.Applicative,
module Control.Monad.Extra,
module Control.Monad.Reader,
module Data.Function,
module Data.List,
module Data.Maybe,
module Data.Monoid,
MonadTrans(lift),
-- * Shake
module Development.Shake,
......
......@@ -3,6 +3,8 @@ module Builder (
Builder (..), builderPath, getBuilderPath, specified, needBuilder
) where
import Control.Monad.Trans.Reader
import Base
import GHC.Generics (Generic)
import Oracles
......
......@@ -24,6 +24,8 @@ module Expression (
module Way
) where
import Control.Monad.Trans.Reader
import Base
import Package
import Builder
......
......@@ -4,6 +4,8 @@ module Oracles.Config.Flag (
ghcWithNativeCodeGen, supportsSplitObjects
) where
import Control.Monad.Trans.Reader
import Base
import Oracles.Config
import Oracles.Config.Setting
......
......@@ -6,6 +6,8 @@ module Oracles.Config.Setting (
ghcCanonVersion, cmdLineLengthLimit
) where
import Control.Monad.Trans.Reader
import Base
import Oracles.Config
import Stage
......
......@@ -3,6 +3,8 @@ module Target (
Target (..), PartialTarget (..), fromPartial, fullTarget, fullTargetWithWay
) where
import Control.Monad.Trans.Reader
import Base
import Builder
import GHC.Generics (Generic)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment