Tue Aug 5 06:35:44 PDT 2008 Simon Marlow <[EMAIL PROTECTED]>
* Add -XPackageImports, new syntax for package-qualified imports
Now you can say
import "network" Network.Socket
and get Network.Socket from package "network", even if there are
multiple Network.Socket modules in scope from different packages
and/or the current package.
This is not really intended for general use, it's mainly so that we
can build backwards-compatible versions of packages, where we need to
be able to do
module GHC.Base (module New.GHC.Base) where
import "base" GHC.Base as New.GHC.Base
M ./compiler/hsSyn/HsImpExp.lhs -3 +7
M ./compiler/iface/LoadIface.lhs -3 +8
M ./compiler/main/DynFlags.hs -1 +3
M ./compiler/main/Finder.lhs -20 +25
M ./compiler/main/GHC.hs -1 +1
M ./compiler/main/HeaderInfo.hs -4 +10
M ./compiler/main/HscStats.lhs -1 +1
M ./compiler/main/Packages.lhs -10 +17
M ./compiler/parser/Parser.y.pp -2 +6
M ./compiler/rename/RnEnv.lhs -1 +1
M ./compiler/rename/RnNames.lhs -5 +14
M ./docs/users_guide/flags.xml +6
M ./docs/users_guide/glasgow_exts.xml +23
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080805133544-12142-91a1b3bd69a3ed6f9a54586da0a89bee0a7e844a.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc