- 04 Dec, 2004 3 commits
- 03 Dec, 2004 8 commits
-
-
simonpj authored
Make Core Lint check for 1-tuples
-
simonmar authored
Get rid of some `...' style quotes
-
simonpj authored
Update TH import
-
simonmar authored
distclean: clean config.mk only *after* doing the recursive cleaning. Otherwise we don't clean properly in the subdirectories or sub-ways.
-
simonmar authored
- Implement expose/hide - fix parsing of package identifiers (forgot to commit this the other day)
-
simonpj authored
A fix to kind signatures for GADT data type decls
-
simonpj authored
TH refication for primitive TyCons
-
simonmar authored
Support the --auto-ghci-libs option in conjuction with 'register'.
-
- 02 Dec, 2004 5 commits
-
-
wolfgang authored
Mac OS X/Darwin/Mach-O: Improve handling of object files without dynamic symbol tables.
-
simonpj authored
Sorry for the fact that there are overlapping three commits in here... 1. Make -fno-monomorphism-restriction and -fno-implicit-prelude reversible, like other flags 2. Fix a wibble in the new ImportAvails story, in RnNames.mkExportAvails 3. Fix a Template Haskell bug that meant that top-level names created with newName were not made properly unique.
-
simonpj authored
Trim imports
-
simonpj authored
Missing include
-
simonpj authored
Missing import on Windows
-
- 01 Dec, 2004 1 commit
-
-
simonmar authored
Update the excluded modules for libghccompat
-
- 30 Nov, 2004 8 commits
-
-
simonmar authored
Data.Version --> Distribution.Version
-
simonmar authored
Data.Version -> Distribution.Version
-
simonmar authored
Data.Version isn't necessary any more, the Version type is exported by Distribution.Version.
-
simonmar authored
Allow -ignore-package P when P doesn't exist (thanks to George Russell for the report).
-
simonpj authored
Docmunent -fmonomorphism-restriction and -fimplicit-prelude
-
simonpj authored
Import trimming
-
simonpj authored
Wibbles for new ImportAvails story
-
simonmar authored
Add space to error message
-
- 29 Nov, 2004 7 commits
-
-
wolfgang authored
Revert part of the previous commit. Something unrelated slipped in :-(.
-
wolfgang authored
Fix -dynamic compilation - don't use nameModule on names that might be local.
-
simonpj authored
--------------------- Simplify ImportAvails --------------------- Every Name has, for some while, contained its "parent"; the type or class inside which it is defined. But the rest of the renamer wasn't using this information as much as it could do. In particular, the ImportAvails type was more elaborate than necessary. This commit combines these two fields of ImportAvails: imp_env :: AvailEnv imp_qual :: ModuleEnv AvailEnv into one imp_env :: ModuleEnv NameSet This is quite a bit simpler. Less redundancy and, I think, less code.
-
simonpj authored
Trim imports
-
simonpj authored
Update ambiguity errors
-
simonmar authored
Don't quote package names
-
simonmar authored
Look for package modules before home modules. This fixes the build in ghc/lib when bootstrapping with the HEAD.
-
- 26 Nov, 2004 7 commits
-
-
simonmar authored
unregister/describe: allow the package name to be given without the version, as long as it is unambiguous. Strange, I was sure I'd implemented expose/hide in here, but they're stubbed out. Oh well.
-
simonmar authored
Undo
-
simonmar authored
Further integration with the new package story. GHC now supports pretty much everything in the package proposal. - GHC now works in terms of PackageIds (<pkg>-<version>) rather than just package names. You can still specify package names without versions on the command line, as long as the name is unambiguous. - GHC understands hidden/exposed modules in a package, and will refuse to import a hidden module. Also, the hidden/eposed status of packages is taken into account. - I had to remove the old package syntax from ghc-pkg, backwards compatibility isn't really practical. - All the package.conf.in files have been rewritten in the new syntax, and contain a complete list of modules in the package. I've set all the versions to 1.0 for now - please check your package(s) and fix the version number & other info appropriately. - New options: -hide-package P sets the expose flag on package P to False -ignore-package P unregisters P for this compilation For comparison, -package P sets the expose flag on package P to True, and also causes P to be linked in eagerly. -package-name is no longer officially supported. Unofficially, it's a synonym for -ignore-package, which has more or less the same effect as -package-name used to. Note that a package may be hidden and yet still be linked into the program, by virtue of being a dependency of some other package. To completely remove a package from the compiler's internal database, use -ignore-package. The compiler will complain if any two packages in the transitive closure of exposed packages contain the same module. You *must* use -ignore-package P when compiling modules for package P, if package P (or an older version of P) is already registered. The compiler will helpfully complain if you don't. The fptools build system does this. - Note: the Cabal library won't work yet. It still thinks GHC uses the old package config syntax. Internal changes/cleanups: - The ModuleName type has gone away. Modules are now just (a newtype of) FastStrings, and don't contain any package information. All the package-related knowledge is in DynFlags, which is passed down to where it is needed. - DynFlags manipulation has been cleaned up somewhat: there are no global variables holding DynFlags any more, instead the DynFlags are passed around properly. - There are a few less global variables in GHC. Lots more are scheduled for removal. - -i is now a dynamic flag, as are all the package-related flags (but using them in {-# OPTIONS #-} is Officially Not Recommended). - make -j now appears to work under fptools/libraries/. Probably wouldn't take much to get it working for a whole build.
-
simonmar authored
Add missing .hi-boot files
-
simonmar authored
Further integration with the new package story. GHC now supports pretty much everything in the package proposal. - GHC now works in terms of PackageIds (<pkg>-<version>) rather than just package names. You can still specify package names without versions on the command line, as long as the name is unambiguous. - GHC understands hidden/exposed modules in a package, and will refuse to import a hidden module. Also, the hidden/eposed status of packages is taken into account. - I had to remove the old package syntax from ghc-pkg, backwards compatibility isn't really practical. - All the package.conf.in files have been rewritten in the new syntax, and contain a complete list of modules in the package. I've set all the versions to 1.0 for now - please check your package(s) and fix the version number & other info appropriately. - New options: -hide-package P sets the expose flag on package P to False -ignore-package P unregisters P for this compilation For comparison, -package P sets the expose flag on package P to True, and also causes P to be linked in eagerly. -package-name is no longer officially supported. Unofficially, it's a synonym for -ignore-package, which has more or less the same effect as -package-name used to. Note that a package may be hidden and yet still be linked into the program, by virtue of being a dependency of some other package. To completely remove a package from the compiler's internal database, use -ignore-package. The compiler will complain if any two packages in the transitive closure of exposed packages contain the same module. You *must* use -ignore-package P when compiling modules for package P, if package P (or an older version of P) is already registered. The compiler will helpfully complain if you don't. The fptools build system does this. - Note: the Cabal library won't work yet. It still thinks GHC uses the old package config syntax. Internal changes/cleanups: - The ModuleName type has gone away. Modules are now just (a newtype of) FastStrings, and don't contain any package information. All the package-related knowledge is in DynFlags, which is passed down to where it is needed. - DynFlags manipulation has been cleaned up somewhat: there are no global variables holding DynFlags any more, instead the DynFlags are passed around properly. - There are a few less global variables in GHC. Lots more are scheduled for removal. - -i is now a dynamic flag, as are all the package-related flags (but using them in {-# OPTIONS #-} is Officially Not Recommended). - make -j now appears to work under fptools/libraries/. Probably wouldn't take much to get it working for a whole build.
-
simonpj authored
Document overlapping instances
-
simonpj authored
More about hi-boot files
-
- 25 Nov, 2004 1 commit
-
-
simonpj authored
------------------------------------------ Keep-alive set and Template Haskell quotes ------------------------------------------ a) Template Haskell quotes should be able to mention top-leve things without resorting to lifting. Example module Foo( foo ) where f x = x foo = [| f 4 |] Here the reference to 'f' is ok; no need to 'lift' it. The relevant changes are in TcExpr.tcId b) However, we must take care not to discard the binding for f, so we add it to the 'keep-alive' set for the module. I've now made this into (another) mutable bucket, tcg_keep, in the TcGblEnv c) That in turn led me to look at the handling of orphan rules; as a result I made IdCoreRule into its own data type, which has simle but non-local ramifications
-