patch applied (packages/base): Remove redundant imports of GHC.Err
Simon Peyton Jones
simonpj at microsoft.com
Fri Jan 4 04:27:49 EST 2008
Fri Jan 4 01:13:14 PST 2008 simonpj at microsoft.com
* Remove redundant imports of GHC.Err
GHC.Base SOURCE-imports GHC.Err, and re-exports 'error'. So
other modules need only import GHC.Base.
This doesn't change the fact that these other modules are all compiled
before GHC.Err, so they are all part of the module loop that starts with
GHC.Base and finishes with GHC.Err. But it does reduce the occurrence
of those SOURCE imports.
M ./Data/Maybe.hs -1
M ./GHC/Arr.lhs -1
M ./GHC/Int.hs -1
M ./GHC/List.lhs -1
M ./GHC/Num.lhs -1
M ./GHC/Read.lhs -1
M ./GHC/Real.lhs -1
M ./GHC/Word.hs -1
More information about the Cvs-libraries
mailing list