Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
74fb3f9e
Commit
74fb3f9e
authored
Dec 24, 2015
by
Ben Gamari
🐢
Browse files
Eliminate re-exports from `Predicates`
parent
ac5040d2
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/Predicates.hs
View file @
74fb3f9e
-- | Convenient predicates
module
Predicates
(
module
GHC
,
module
Oracles
.
Config
.
Flag
,
module
Oracles
.
Config
.
Setting
,
stage
,
package
,
builder
,
stagedBuilder
,
file
,
way
,
stage0
,
stage1
,
stage2
,
notStage0
,
notPackage
,
registerPackage
,
splitObjects
)
where
...
...
@@ -10,7 +8,6 @@ import Base
import
Expression
import
GHC
import
Oracles.Config.Flag
import
Oracles.Config.Setting
-- Basic predicates
stage
::
Stage
->
Predicate
...
...
src/Rules/Library.hs
View file @
74fb3f9e
...
...
@@ -2,8 +2,8 @@ module Rules.Library (buildPackageLibrary, cSources, hSources) where
import
Data.Char
import
Base
import
Expression
hiding
(
splitPath
)
import
Base
hiding
(
splitPath
)
import
Expression
import
GHC
import
Oracles
import
Predicates
(
splitObjects
)
...
...
src/Settings/Builders/Haddock.hs
View file @
74fb3f9e
...
...
@@ -2,6 +2,7 @@ module Settings.Builders.Haddock (haddockArgs) where
import
Development.Shake.FilePath
import
Base
import
GHC
import
Package
import
Expression
import
Oracles
...
...
src/Settings/Packages.hs
View file @
74fb3f9e
...
...
@@ -2,7 +2,9 @@ module Settings.Packages (getPackages, knownPackages, findKnownPackage) where
import
Base
import
Expression
import
GHC
import
Predicates
import
Oracles.Config.Setting
import
Settings.User
-- Combining default list of packages with user modifications
...
...
src/Settings/User.hs
View file @
74fb3f9e
...
...
@@ -6,8 +6,8 @@ module Settings.User (
verboseCommands
,
turnWarningsIntoErrors
)
where
import
GHC
import
Expression
import
Predicates
-- No user-specific settings by default
-- TODO: rename to userArgs
...
...
src/Settings/Ways.hs
View file @
74fb3f9e
...
...
@@ -4,6 +4,7 @@ import Data.Monoid
import
Expression
import
Predicates
import
Settings.User
import
Oracles.Config.Flag
-- TODO: use a single expression Ways parameterised by package instead of
-- expressions libWays and rtsWays
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment