- 17 Mar, 2004 4 commits
-
-
simonpj authored
------------------------ More newtype clearing up ------------------------ * Change the representation of TyCons so that it accurately reflects * data (0 or more constrs) * newtype (1 constr) * abstract (unknown) Replaces DataConDetails and AlgTyConFlavour with AlgTyConRhs * Add IfaceSyn.IfaceConDecls, a kind of stripped-down analogue of AlgTyConRhs * Move NewOrData from BasicTypes to HsDecl (it's now an HsSyn thing) * Arrange that Type.newTypeRep and splitRecNewType_maybe unwrap just one layer of new-type-ness, leaving the caller to recurse. This still leaves typeRep and repType in Type.lhs; these functions are still vaguely disturbing and probably should get some attention. Lots of knock-on changes. Fixes bug in ds054.
-
simonpj authored
More Windows building notes
-
simonpj authored
Fix debug-printing for Insts
-
simonpj authored
Use sub-kind rather than kind-equality check in matchTys, just as we do in TcUnify. This is someting I failed to do when shifting to the funky new kind representation.
-
- 16 Mar, 2004 5 commits
-
-
simonpj authored
Print slightly more informative types in debug mode
-
simonmar authored
Don't make configure read-only.
-
ralf authored
Adapted deriving Data a bit. So everything should be now as shown in the Boilerplate II paper.
-
simonmar authored
Remove all known hacks in rawSystem: - no splitting of the program name using toArgs - no avoiding translate when the string already appears to be quoted - no avoiding translate for the command name We now keep separate program name & args for various SysTools programs: gcc, as, ld, mkdll. MERGE TO STABLE
-
mthomas authored
Retrofit Simon's DOCBOOK_CATALOG fix for platforms without DOCBOOK.
-
- 15 Mar, 2004 1 commit
-
-
simonmar authored
Sync up with the stable branch (small change to the way worker threads exit that sneaked onto the branch by mistake).
-
- 13 Mar, 2004 1 commit
-
-
sof authored
tidy up conditional forkProcess() support
-
- 12 Mar, 2004 2 commits
- 11 Mar, 2004 9 commits
-
-
simonpj authored
Fix a nasty and long-standing bug in the handling of functional dependencies. The story is told in comments with TcSimplify.tcSimplifyRestricted. We were simpifying a group of constraints *twice*: once to establish the type vars to quantify over, and once "for real" but less brutally. Unfortunately, the less-brutally part meant that we did less improvement, which in turn meant that an invariant (no captured constraints) was violated. Consequential bizarre results. The test is typecheck/should_compile/tc177
-
simonpj authored
Better printing for LHsBinds
-
simonpj authored
Sanity checking
-
simonpj authored
Comments
-
simonpj authored
Add sanity check
-
simonpj authored
Better layout in interppSP
-
simonpj authored
Fix a long-standing bug; the type checker should recover from a failure in the default method of a class declaration, else the default method doesn't get added to the type envt, and we get an opaque tcLookupGlobal: `FunnyError.$dmb' is not in scope message.
-
simonmar authored
Don't call hGetArray with a size of zero (fixes read021).
-
simonmar authored
Add dependency on GHC.TopHandler if this is the main module.
-
- 10 Mar, 2004 1 commit
-
-
wolfgang authored
Remove -static flag from non-darwin PowerPC builds (this was a relic from the long-dead AIX support) Merge to STABLE.
-
- 08 Mar, 2004 5 commits
- 07 Mar, 2004 1 commit
-
-
ross authored
if X is available, build X11 and HGL packages.
-
- 05 Mar, 2004 6 commits
-
-
simonmar authored
Be clearer about when source files must match module names.
-
simonmar authored
Fail with an error if the interface file we're reading doesn't contain the module we were expecting.
-
stolz authored
Fix #ifdef'ed flags for FreeBSD.
-
simonmar authored
comments
-
stolz authored
Reduce noise if there's no in-tree version of Happy.
-
simonmar authored
Fix a URL link
-
- 03 Mar, 2004 2 commits
-
-
simonpj authored
Comments only
-
simonpj authored
Patches to configuration script for MSYS. It's not clear that this'll always work, because we generate paths like /c/mingw/bin, which MinGW binaries won't understand -- but all of them seem to be fed to the MSYS shell, which translates them to c:/mingw/bin etc. Perhaps the Right Thing is to implement msyspath, by analogy with cygpath, to convert /c/xxx to c:/xxx? Anyway, this patch seems to work for now.
-
- 02 Mar, 2004 2 commits
- 01 Mar, 2004 1 commit
-
-
simonmar authored
Threaded RTS improvements: - Make the main_threads list doubly linked. Have threads remove themselves from this list when they complete, rather than searching for completed main threads each time around the scheduler loop. This removes an O(n) loop from the scheduler, but adds some new constraints (basically completed threads must remain on the run queue until dealt with, including threads which have been killed by an async exception). - Add a pointer from the TSO to the StgMainThread struct, for main threads. This avoids a number of places where we had to traverse the list of main threads to find the right one, including one place in the scheduler loop. Adding a field to a TSO is cheap. - taskStart: we should be resetting the startingWorkerThread flag in here. Not sure why we aren't; maybe this got lost at some point. - Use the BlockedOnCCall flags in the non-threaded RTS too. Q: what should happen if a thread does a foreign call which re-enters the RTS, and then sends an async exception to the original thread? Answer: it should deadlock, which it does in the threaded RTS, and this commit makes it do so in the non-threaded RTS too (see testsuite/tests/concurrent/should_run/conc040.hs).
-