- May 26, 2000
-
-
Simon Marlow authored
Build hslibs first if we're bootstrapping from .hc files.
-
Julian Seward authored
Changes to allow Hugs to be built with mingw32, not cygwin. Also, updates so that DietHEP works properly for mingw32. Most changes are trivial (assert --> ASSERT), etc. For hugs, have deleted queries about the width of a terminal window, and so the printing of dots as progress indicators is gone too. No great loss. Zapped various other out-of-date platform-specific junk in machdep.c.
-
sven.panne@aedion.de authored
Don't mv, but cp foreign export header file (as was done before)
-
Simon Marlow authored
Add missing AP_UPD case in THUNK_SELECTOR.
-
- May 25, 2000
-
-
sven.panne@aedion.de authored
* Small fix for SPJ's last huge commit: Remove dependency on ghc-iface from Makefile. * Nuke ghc-recomp.lprl, this hasn't been used for a long time (I hope :-} (merge when/if SPJ's commit is merged)
-
sven.panne@aedion.de authored
Cosmetics: Removed a whole bunch of "Field `foo' is not initialised" warnings. This should not have any impact on efficiency, as GHC inserts `recConError "blah"' expressions for uninitialised fields anyway, and I can't see any danger of space leaks. (can be merged with 4.07)
-
sven.panne@aedion.de authored
Cosmetics: Removed two "Pattern match(es) are overlapped" warnings. (can be merged with 4.07)
-
Simon Peyton Jones authored
~~~~~~~~~~~~ Apr/May 2000 ~~~~~~~~~~~~ This is a pretty big commit! It adds stuff I've been working on over the last month or so. DO NOT MERGE IT WITH 4.07! Interface file formats have changed a little; you'll need to make clean before remaking. Simon PJ Recompilation checking ~~~~~~~~~~~~~~~~~~~~~~ Substantial improvement in recompilation checking. The version management is now entirely internal to GHC. ghc-iface.lprl is dead! The trick is to generate the new interface file in two steps: - first convert Types etc to HsTypes etc, and thereby build a new ParsedIface - then compare against the parsed (but not renamed) version of the old interface file Doing this meant adding code to convert *to* HsSyn things, and to compare HsSyn things for equality. That is the main tedious bit. Another improvement is that we now track version info for fixities and rules, which was missing before. Interface file reading ~~~~~~~~~~~~~~~~~~~~~~ Make interface files reading more robust. * If the old interface file is unreadable, don't fail. [bug fix] * If the old interface file mentions interfaces that are unreadable, don't fail. [bug fix] * When we can't find the interface file, print the directories we are looking in. [feature] Type signatures ~~~~~~~~~~~~~~~ * New flag -ddump-types to print type signatures Type pruning ~~~~~~~~~~~~ When importing data T = T1 A | T2 B | T3 C it seems excessive to import the types A, B, C as well, unless the constructors T1, T2 etc are used. A,B,C might be more types, and importing them may mean reading more interfaces, and so on. So the idea is that the renamer will just import the decl data T unless one of the constructors is used. This turns out to be quite easy to implement. The downside is that we must make sure the constructors are always available if they are really needed, so I regard this as an experimental feature. Elimininate ThinAir names ~~~~~~~~~~~~~~~~~~~~~~~~~ Eliminate ThinAir.lhs and all its works. It was always a hack, and now the desugarer carries around an environment I think we can nuke ThinAir altogether. As part of this, I had to move all the Prelude RdrName defns from PrelInfo to PrelMods --- so I renamed PrelMods as PrelNames. I also had to move the builtinRules so that they are injected by the renamer (rather than appearing out of the blue in SimplCore). This is if anything simpler. Miscellaneous ~~~~~~~~~~~~~ * Tidy up the data types involved in Rules * Eliminate RnEnv.better_provenance; use Name.hasBetterProv instead * Add Unique.hasKey :: Uniquable a => a -> Unique -> Bool It's useful in a lot of places * Fix a bug in interface file parsing for __U[!]
-
Simon Marlow authored
Add missing case in parsing of inline pragmas.
-
Simon Marlow authored
raise_info, the info table we use for overwriting thunks with an exception, had the bogus closure type of FUN. This was mostly harmless, but caused some confusion for THUNK_SELECTORs, which rightly assumed that they shouldn't be pointing at FUNs. The fix is to change the type to THUNK, which is slightly closer to being true. This fixes Alastair Reid's "THUNK_SELECTOR: strange selectee" bug.
-
AndyGill authored
Fixing up names to make a reasonable use of Java packages. This is just one of a number of steps before attacking the Prelude. Fixing up the output order of the inner classes, making postprocessing easier.
-
- May 24, 2000
-
-
Simon Marlow authored
Fix compilation errors when OMIT_NATIVE_CODEGEN is on.
-
Simon Peyton Jones authored
MERGE 4.07 * This fix cures the weird 'ifaceBinds' error that Sven and George tripped over. It was quite obscure! Basically, there was a top level binding f = x lying around, which CoreToStg didn't like. Why hadn't it been substituted away? Because it had a NOINLINE pragma. Why did it have a NOINLINE pragma? Because it's an always-diverging function, so we never want to inline it.
-
Reuben Thomas authored
Changed ref to building guide to a ref to the installation guide.
-
Reuben Thomas authored
Added a few ids to stop weirdly-named web pages being built for sections without ids.
-
Simon Peyton Jones authored
Only report shadowed names in source files (merge with 4.07)
-
Reuben Thomas authored
Tweaked title not to have (which is simply omitted in HTML Title meta-info), and upped version no. to 4.07. Pls mrg.
-
Reuben Thomas authored
Removed a bogus XRef.
-
Reuben Thomas authored
Lots of ids added so that all HTML pages generated have sensible names. Various other little tidies up. Please merge.
-
Simon Peyton Jones authored
Fix unused-import warning --- again!
-
Simon Peyton Jones authored
MERGE 4.07 * When float outwards (full laziness) remember to switch off the demand flag. Else we wrongly can transform \x -> let y __D = (...) in y+x into let y __D = (...) in \x -> y+x In the latter, y is not necessarily demanded; it depends whether the function is called. We should switch off the demand flag. The fix is right at the bottom in SetLevels.subst_id_info
-
Simon Peyton Jones authored
MERGE 4.07 * Another wibble on records
-
Simon Marlow authored
don't use underscores in type variable names
-
Simon Marlow authored
don't use underscores in type variable names
-
Simon Marlow authored
Don't try to use getclock on HPUX, gettimeofday is more standard in any case.
-
Simon Marlow authored
Add ids to the book tags.
-
Simon Marlow authored
don't use underscores in type variable names
-
Simon Marlow authored
disable -fwarn-hi-shadowing again, because we duplicate include paths in the driver too much.
-
Reuben Thomas authored
Tried to clear up some backslash confusion under Windows by always using forward slashes. Please merge.
-
AndyGill authored
Adding a field to the Method constructor, to allow methods to say what they might raise. This is needed to actually compile generated code. Also, the generated code now imports haskell.runtime.*
-
- May 23, 2000
-
-
Reuben Thomas authored
verbatim no longer supported; now in rts.tex
-
Reuben Thomas authored
de-verbatimed (verbatim is no longer supported).
-
Simon Marlow authored
Don't use commas in an SLIT("..")
-
Julian Seward authored
zap spurious semicolon wibble
-
Simon Marlow authored
Fix a Real Bug(TM) in the new code for detecting dead threads: we weren't taking into account the case when a ThreadRelocated is found on the all_threads list.
-
Simon Peyton Jones authored
MERGE 4.07 * Fix records with polymorphic fields (broken by previous 'fix') As a tidy-up I also put a TyCon into a FieldLabel * Fix a glitch with the result-type-sig change
-
Simon Peyton Jones authored
Add tests for result type sigs
-
Julian Seward authored
Fix bug in diet_hep_initialise to do with argc/argv handling.
-
Simon Peyton Jones authored
*** MERGE WITH 4.07 (once I've checked it works) *** * Fix result type signatures. Note that a consequential change is that an ordinary binding with a variable on the left f = e is now treated as a FunMonoBind, not a PatMonoBind. This makes a few things a bit simpler (eg rnMethodBinds) * Fix warnings for unused imports. This meant moving where provenances are improved in RnNames. Move mkExportAvails from RnEnv to RnNames. * Print module names right (small change in Module.lhs and Rename.lhs) * Remove a few unused bindings * Add a little hack to let us print info about join points that turn out not to be let-no-escaped. The idea is to call them "$j" and report any such variables that are not let-no-escaped. * Some small things aiming towards -ddump-types (harmless but incomplete)
-
- May 22, 2000
-
-
sven.panne@aedion.de authored
zu => _ (i.e. sync name decoding with OccName :-)
-