Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,260
Issues
4,260
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
398
Merge Requests
398
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
abfbb0d6
Commit
abfbb0d6
authored
Oct 19, 2014
by
Herbert Valerio Riedel
🕺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant explicit `Prelude` imports
Since they're implied by the lack of `NoImplicitPrelude`
parent
ce237451
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
0 additions
and
38 deletions
+0
-38
libraries/base/Control/Concurrent.hs
libraries/base/Control/Concurrent.hs
+0
-2
libraries/base/Control/Concurrent/Chan.hs
libraries/base/Control/Concurrent/Chan.hs
+0
-2
libraries/base/Control/Monad/Instances.hs
libraries/base/Control/Monad/Instances.hs
+0
-2
libraries/base/Control/Monad/ST/Lazy/Imp.hs
libraries/base/Control/Monad/ST/Lazy/Imp.hs
+0
-2
libraries/base/Control/Monad/Zip.hs
libraries/base/Control/Monad/Zip.hs
+0
-1
libraries/base/Data/Complex.hs
libraries/base/Data/Complex.hs
+0
-2
libraries/base/Data/Fixed.hs
libraries/base/Data/Fixed.hs
+0
-1
libraries/base/Data/Ix.hs
libraries/base/Data/Ix.hs
+0
-2
libraries/base/Data/Ratio.hs
libraries/base/Data/Ratio.hs
+0
-2
libraries/base/Data/STRef.hs
libraries/base/Data/STRef.hs
+0
-2
libraries/base/Data/STRef/Lazy.hs
libraries/base/Data/STRef/Lazy.hs
+0
-1
libraries/base/Data/Unique.hs
libraries/base/Data/Unique.hs
+0
-2
libraries/base/GHC/Constants.hs
libraries/base/GHC/Constants.hs
+0
-2
libraries/base/GHC/Environment.hs
libraries/base/GHC/Environment.hs
+0
-1
libraries/base/System/CPUTime.hsc
libraries/base/System/CPUTime.hsc
+0
-2
libraries/base/System/Console/GetOpt.hs
libraries/base/System/Console/GetOpt.hs
+0
-2
libraries/base/System/Environment.hs
libraries/base/System/Environment.hs
+0
-2
libraries/base/System/Exit.hs
libraries/base/System/Exit.hs
+0
-1
libraries/base/System/Info.hs
libraries/base/System/Info.hs
+0
-1
libraries/base/System/Mem.hs
libraries/base/System/Mem.hs
+0
-1
libraries/base/System/Mem/StableName.hs
libraries/base/System/Mem/StableName.hs
+0
-2
libraries/base/Text/Printf.hs
libraries/base/Text/Printf.hs
+0
-1
libraries/base/Text/Show/Functions.hs
libraries/base/Text/Show/Functions.hs
+0
-2
No files found.
libraries/base/Control/Concurrent.hs
View file @
abfbb0d6
...
@@ -104,8 +104,6 @@ module Control.Concurrent (
...
@@ -104,8 +104,6 @@ module Control.Concurrent (
)
where
)
where
import
Prelude
import
Control.Exception.Base
as
Exception
import
Control.Exception.Base
as
Exception
import
GHC.Exception
import
GHC.Exception
...
...
libraries/base/Control/Concurrent/Chan.hs
View file @
abfbb0d6
...
@@ -34,8 +34,6 @@ module Control.Concurrent.Chan
...
@@ -34,8 +34,6 @@ module Control.Concurrent.Chan
writeList2Chan
,
writeList2Chan
,
)
where
)
where
import
Prelude
import
System.IO.Unsafe
(
unsafeInterleaveIO
)
import
System.IO.Unsafe
(
unsafeInterleaveIO
)
import
Control.Concurrent.MVar
import
Control.Concurrent.MVar
import
Control.Exception
(
mask_
)
import
Control.Exception
(
mask_
)
...
...
libraries/base/Control/Monad/Instances.hs
View file @
abfbb0d6
...
@@ -17,5 +17,3 @@
...
@@ -17,5 +17,3 @@
module
Control.Monad.Instances
{-# DEPRECATED "This module now contains no instances and will be removed in the future" #-}
-- deprecated in 7.8
module
Control.Monad.Instances
{-# DEPRECATED "This module now contains no instances and will be removed in the future" #-}
-- deprecated in 7.8
(
Functor
(
..
),
Monad
(
..
))
where
(
Functor
(
..
),
Monad
(
..
))
where
import
Prelude
libraries/base/Control/Monad/ST/Lazy/Imp.hs
View file @
abfbb0d6
...
@@ -36,8 +36,6 @@ module Control.Monad.ST.Lazy.Imp (
...
@@ -36,8 +36,6 @@ module Control.Monad.ST.Lazy.Imp (
unsafeIOToST
unsafeIOToST
)
where
)
where
import
Prelude
import
Control.Monad.Fix
import
Control.Monad.Fix
import
qualified
Control.Monad.ST.Safe
as
ST
import
qualified
Control.Monad.ST.Safe
as
ST
...
...
libraries/base/Control/Monad/Zip.hs
View file @
abfbb0d6
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
module
Control.Monad.Zip
where
module
Control.Monad.Zip
where
import
Prelude
import
Control.Monad
(
liftM
)
import
Control.Monad
(
liftM
)
-- | `MonadZip` type class. Minimal definition: `mzip` or `mzipWith`
-- | `MonadZip` type class. Minimal definition: `mzip` or `mzipWith`
...
...
libraries/base/Data/Complex.hs
View file @
abfbb0d6
...
@@ -34,8 +34,6 @@ module Data.Complex
...
@@ -34,8 +34,6 @@ module Data.Complex
)
where
)
where
import
Prelude
import
Data.Typeable
import
Data.Typeable
import
Data.Data
(
Data
)
import
Data.Data
(
Data
)
...
...
libraries/base/Data/Fixed.hs
View file @
abfbb0d6
...
@@ -37,7 +37,6 @@ module Data.Fixed
...
@@ -37,7 +37,6 @@ module Data.Fixed
E12
,
Pico
E12
,
Pico
)
where
)
where
import
Prelude
-- necessary to get dependencies right
import
Data.Typeable
import
Data.Typeable
import
Data.Data
import
Data.Data
import
GHC.Read
import
GHC.Read
...
...
libraries/base/Data/Ix.hs
View file @
abfbb0d6
...
@@ -61,6 +61,4 @@ module Data.Ix
...
@@ -61,6 +61,4 @@ module Data.Ix
)
where
)
where
-- import Prelude
import
GHC.Arr
import
GHC.Arr
libraries/base/Data/Ratio.hs
View file @
abfbb0d6
...
@@ -24,8 +24,6 @@ module Data.Ratio
...
@@ -24,8 +24,6 @@ module Data.Ratio
)
where
)
where
import
Prelude
import
GHC.Real
-- The basic defns for Ratio
import
GHC.Real
-- The basic defns for Ratio
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
...
...
libraries/base/Data/STRef.hs
View file @
abfbb0d6
...
@@ -24,8 +24,6 @@ module Data.STRef (
...
@@ -24,8 +24,6 @@ module Data.STRef (
modifySTRef'
modifySTRef'
)
where
)
where
import
Prelude
import
GHC.ST
import
GHC.ST
import
GHC.STRef
import
GHC.STRef
...
...
libraries/base/Data/STRef/Lazy.hs
View file @
abfbb0d6
...
@@ -25,7 +25,6 @@ module Data.STRef.Lazy (
...
@@ -25,7 +25,6 @@ module Data.STRef.Lazy (
import
Control.Monad.ST.Lazy.Safe
import
Control.Monad.ST.Lazy.Safe
import
qualified
Data.STRef
as
ST
import
qualified
Data.STRef
as
ST
import
Prelude
newSTRef
::
a
->
ST
s
(
ST
.
STRef
s
a
)
newSTRef
::
a
->
ST
s
(
ST
.
STRef
s
a
)
readSTRef
::
ST
.
STRef
s
a
->
ST
s
a
readSTRef
::
ST
.
STRef
s
a
->
ST
s
a
...
...
libraries/base/Data/Unique.hs
View file @
abfbb0d6
...
@@ -22,8 +22,6 @@ module Data.Unique (
...
@@ -22,8 +22,6 @@ module Data.Unique (
hashUnique
hashUnique
)
where
)
where
import
Prelude
import
System.IO.Unsafe
(
unsafePerformIO
)
import
System.IO.Unsafe
(
unsafePerformIO
)
import
GHC.Base
import
GHC.Base
...
...
libraries/base/GHC/Constants.hs
View file @
abfbb0d6
...
@@ -2,8 +2,6 @@
...
@@ -2,8 +2,6 @@
module
GHC.Constants
where
module
GHC.Constants
where
import
Prelude
()
-- TODO: This used to include HaskellConstants.hs, but that has now gone.
-- TODO: This used to include HaskellConstants.hs, but that has now gone.
-- We probably want to include the constants in platformConstants somehow
-- We probably want to include the constants in platformConstants somehow
-- instead.
-- instead.
...
...
libraries/base/GHC/Environment.hs
View file @
abfbb0d6
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
module
GHC.Environment
(
getFullArgs
)
where
module
GHC.Environment
(
getFullArgs
)
where
import
Prelude
import
Foreign
import
Foreign
import
Foreign.C
import
Foreign.C
...
...
libraries/base/System/CPUTime.hsc
View file @
abfbb0d6
...
@@ -24,8 +24,6 @@ module System.CPUTime
...
@@ -24,8 +24,6 @@ module System.CPUTime
cpuTimePrecision -- :: Integer
cpuTimePrecision -- :: Integer
) where
) where
import Prelude
import Data.Ratio
import Data.Ratio
import Foreign.Safe
import Foreign.Safe
...
...
libraries/base/System/Console/GetOpt.hs
View file @
abfbb0d6
...
@@ -62,8 +62,6 @@ module System.Console.GetOpt (
...
@@ -62,8 +62,6 @@ module System.Console.GetOpt (
-- $example2
-- $example2
)
where
)
where
import
Prelude
-- necessary to get dependencies right
import
Data.List
(
isPrefixOf
,
find
)
import
Data.List
(
isPrefixOf
,
find
)
-- |What to do with options following non-options
-- |What to do with options following non-options
...
...
libraries/base/System/Environment.hs
View file @
abfbb0d6
...
@@ -29,8 +29,6 @@ module System.Environment
...
@@ -29,8 +29,6 @@ module System.Environment
getEnvironment
,
getEnvironment
,
)
where
)
where
import
Prelude
import
Foreign.Safe
import
Foreign.Safe
import
Foreign.C
import
Foreign.C
import
System.IO.Error
(
mkIOError
)
import
System.IO.Error
(
mkIOError
)
...
...
libraries/base/System/Exit.hs
View file @
abfbb0d6
...
@@ -23,7 +23,6 @@ module System.Exit
...
@@ -23,7 +23,6 @@ module System.Exit
,
die
,
die
)
where
)
where
import
Prelude
import
System.IO
import
System.IO
import
GHC.IO
import
GHC.IO
...
...
libraries/base/System/Info.hs
View file @
abfbb0d6
...
@@ -24,7 +24,6 @@ module System.Info
...
@@ -24,7 +24,6 @@ module System.Info
compilerVersion
compilerVersion
)
where
)
where
import
Prelude
import
Data.Version
import
Data.Version
-- | The version of 'compilerName' with which the program was compiled
-- | The version of 'compilerName' with which the program was compiled
...
...
libraries/base/System/Mem.hs
View file @
abfbb0d6
...
@@ -19,7 +19,6 @@ module System.Mem
...
@@ -19,7 +19,6 @@ module System.Mem
,
performMajorGC
,
performMajorGC
,
performMinorGC
,
performMinorGC
)
where
)
where
import
Prelude
-- | Triggers an immediate garbage collection.
-- | Triggers an immediate garbage collection.
performGC
::
IO
()
performGC
::
IO
()
...
...
libraries/base/System/Mem/StableName.hs
View file @
abfbb0d6
...
@@ -38,8 +38,6 @@ module System.Mem.StableName (
...
@@ -38,8 +38,6 @@ module System.Mem.StableName (
eqStableName
eqStableName
)
where
)
where
import
Prelude
import
Data.Typeable
import
Data.Typeable
import
GHC.IO
(
IO
(
..
)
)
import
GHC.IO
(
IO
(
..
)
)
...
...
libraries/base/Text/Printf.hs
View file @
abfbb0d6
...
@@ -91,7 +91,6 @@ module Text.Printf(
...
@@ -91,7 +91,6 @@ module Text.Printf(
IsChar
(
..
)
IsChar
(
..
)
)
where
)
where
import
Prelude
import
Data.Char
import
Data.Char
import
Data.Int
import
Data.Int
import
Data.List
import
Data.List
...
...
libraries/base/Text/Show/Functions.hs
View file @
abfbb0d6
...
@@ -21,8 +21,6 @@
...
@@ -21,8 +21,6 @@
module
Text.Show.Functions
()
where
module
Text.Show.Functions
()
where
import
Prelude
instance
Show
(
a
->
b
)
where
instance
Show
(
a
->
b
)
where
showsPrec
_
_
=
showString
"<function>"
showsPrec
_
_
=
showString
"<function>"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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