- Jun 02, 2000
-
-
Simon Marlow authored
checkTyCon shouldn't look through newtypes. Instead, we add a new function checkRepTyCon which does, and use it in the few cases where it is needed. This fixes a nasty bug with overloaded literals of newtypes, and probably a whole bunch of other lurking bugs too.
-
Simon Marlow authored
add new flag -fglasgow-exts-no-lang, which is the same as -fglsagow-exts but doesn't include the implicit -package lang. This is needed only for compiling ghc/lib/std, where hslibs/lang may or may not exist.
-
Simon Marlow authored
Fix bug in new version of hGetLine: it didn't handle unbuffered handles properly. The fix involves re-importing the old code for hGetLine :-(
-
- Jun 01, 2000
-
-
sven.panne@aedion.de authored
While adding a syslib, setup include dirs in addition to cc injects, too. The driver is really a piece from hell... :-(
-
sven.panne@aedion.de authored
The DocBook saga continues: Look for already installed catalog first.
-
Simon Marlow authored
allow infix constructors to be declared with prefix notation, eg data T a b = (:^:) a b
-
Simon Marlow authored
Test for declaring an infix constructor using prefix notation, eg. data T a b = (:^:) a b
-
Simon Marlow authored
Compile FastString with -fvia-C for the time being (Julian is working on fixing a bug in the NCG).
-
- May 31, 2000
-
-
Simon Marlow authored
fix apparent cut-n-pasto: rEC_SEL_ERROR_ID was printed as "patError".
-
Simon Marlow authored
update expected output.
-
Simon Marlow authored
update expected output
-
Simon Marlow authored
Update expected output.
-
Simon Marlow authored
Incorporate Josef's patch to fix the bogus warning about overlapping string patterns. Thanks Josef!
-
Reuben Thomas authored
Always run docbook scripts with the catalog as the first argument (taken from DOCBOOK_CATALOG).
-
Reuben Thomas authored
Update to use DOCBOOK_CATALOG to get the correct catalog.
-
sven.panne@aedion.de authored
Use new way of #including for packages
-
sven.panne@aedion.de authored
floatExtreme.h's definitions reside in PrimOps.h
-
sven.panne@aedion.de authored
Trying to get the whole #include business right: ccalls are unfolded into interface files, even without -funfold-casms-in-hi-file. Although this is a good thing performance-wise, the header files should better be #included during compilation of the .hc files. Solution: * Every .hc file #includes "Stg.h" first. * For every package `foo' used, "HsFoo.h" is #included, too. This means that every package has to come with a corresponding header file, even if it is empty. Downside: * Getting #includes right with ghc-inplace is a little bit ugly: The boot target in Makefiles must copy the package's header files into GHC_INCLUDE_DIR (don't forget the clean target!), and final installation of those headers is done there, too. :-P Better solutions are highly welcome. * Possible pollution of the C name spaces.
-
Jeff Lewis authored
Cleanup pass on functional dependencies. Most noticeably, make it so that signatures involving classes with functional dependencies work. Also, Fundeps are now properly handled by the simplifier, resolving problems where the fundeps were sometimes being discarded too early, and sometimes hanging around too long. Took out the early ambiguity testing in the renamer, because that's too early (you don't know the fundeps yet). Now, the ambiguity test happens in the typechecker. Functional Dependencies should now be up to snuff with Mark's paper, however, the derived instances and superclass extensions found in hugs are still not in there. It would be nice if this were merged into 4.07. I have diffs against the 4.07 tree in case it's too thorny working around Simon's big commit.
-
chak@cse.unsw.edu.au. authored
Autoconf magic to determine a working DocBook CATALOG file (if any). Makes the makefile variable DOCBOOK_CATALOG refer to this CATALOG file (absolute path).
-
- May 30, 2000
-
-
Simon Marlow authored
Nothing uses this file, so remove it.
-
Simon Marlow authored
don't need to import PrelPack.hi-boot
-
Simon Marlow authored
only add implicit occs for bindIO & returnIO for foreign export, not for foreign import.
-
Simon Marlow authored
Fix package names & version numbers in .hi-boot files.
-
Julian Seward authored
Fix cyclic dependency problem when compiling the Prelude.
-
Simon Marlow authored
re-enable first float-outwards pass; it was accidentally disabled in Simon's recent commit.
-
- May 29, 2000
-
-
Simon Peyton Jones authored
Fix missing imports for foreign import/export
-
sven.panne@aedion.de authored
Hopefully this is a better place to fix the printing of litlits in interface files... *please merge*
-
sven.panne@aedion.de authored
Backed out previous commit, the change was at the completely wrong place. *please merge*
-
- May 28, 2000
-
-
sven.panne@aedion.de authored
Don't forget litlit alternatives when deciding if an expression should make its way into an interface file. *please merge*
-
sven.panne@aedion.de authored
Prefix litlits with "__litlit" in interface files. *please merge*
-
sven.panne@aedion.de authored
Look through newtypes when generating stub code. *merge if/when SPJ's huge commit is merged*
-
sven.panne@aedion.de authored
Removed unused import. *merge if/when SPJ's huge commit is merged*
-
sven.panne@aedion.de authored
Rewrote RULES for gcd and lcm without forall. The old versions *did not* always fire because of a strange interaction with automatically generated specialisations for gcd! Example for this misbehaviour: main :: IO () main = do print (gcd 15675 156750 :: Integer) print (gcd 12345678987651075 156750 :: Integer) print (gcd 156750 12345678987651075 :: Integer) print (gcd 2469135797530215 12345678987651075 :: Integer) I don't understand why the new version works and the old one did not, so somebody else should probably have a look at this phenomenon. *please merge* (like all my commits in the last few days :-}
-
sven.panne@aedion.de authored
Added a few -#includes to eliminate warnings from gcc (*please merge*)
-
sven.panne@aedion.de authored
Fixed gcdIntegerInt# primop, the previous macros was completely wrong. gcd for Integers worked only as long the corresponding RULE in PrelReal didn't fire.
-
sven.panne@aedion.de authored
The C functions toLocalTime and toUTCTime now return an StgInt, not a rather useless StgAddr. This fixes two gcc warnings during the compilation of Time. In the course of this, toLocalTime.c and toUTCTime.c are synched a little bit more. (*please merge*)
-
sven.panne@aedion.de authored
Lowered magical value of unfolding threshold for PrimPacked, so strlen doesn't appear in interface file. This fixes bootstrapping problems, e.g. when compiling FastString. Extremely hacky solution...
-
- May 27, 2000
-
-
sven.panne@aedion.de authored
Bug or feature? Changed `envyron' back to `environ', otherwise hslibs/posix/cbits/env.c can't be compiled. If this breaks something on M$, it must be #ifdef-ed somehow, but not simply be renamed.
-
- May 26, 2000
-
-
Jeff Lewis authored
Applied patch from hugs98 fixing type annotations in do bindings.
-