- 17 Apr, 2003 4 commits
- 16 Apr, 2003 1 commit
-
-
simonpj authored
---------------------------------- Use the Infer/Check idea for typechecking higher-rank types ---------------------------------- The main idea is that data Expected ty = Infer (TcRef ty) | Check ty tcMonoExpr :: Expr -> Expected TcRhoType -> TcM Expra This "Expected" type tells tcMonoExpr whether it's doing inference or checking. It replaces the "HoleTv" flavour of type variable. This actually leads to slightly more lines of code, but it's much clearer, and the new type distinctions showed up several subtle bugs in the previous implementation. It all arose out of writing the prototype implementation for the paper. Error messages wibble around a little bit. I'm not quite certain why! But the changes look like improvements to me.
-
- 15 Apr, 2003 1 commit
-
-
simonmar authored
Fix bug in forkProcess: it should be using RET_N rather than returing directly. Makes a difference for unregisterised only. Remove dead code in atomicModifyMVarzh_fast.
-
- 14 Apr, 2003 3 commits
- 12 Apr, 2003 3 commits
- 11 Apr, 2003 5 commits
-
-
simonmar authored
Add -print to some $(FIND) commands, so as to be more compatible with non-GNU finds.
-
simonmar authored
The Id for a foreign import should be a LocalId, not a GlobalId. Making it a GlobalId violates the invariant that all Ids defined in the current module should be LocalIds until CoreTidy.
-
simonmar authored
Add an ASSERT to confirm an invariant: all Ids defined in this module should be LocalIds until the CoreTidy phase.
-
simonmar authored
remove spurious backslash
-
simonpj authored
More simplifier wibbles to do with the arity transfer stuff
-
- 10 Apr, 2003 8 commits
-
-
wolfgang authored
Mac OS X/Darwin: Fix two more mangler bugs. Maybe the profiling libraries will work this time... MERGE TO STABLE
-
simonpj authored
Wibble to arity fix
-
simonpj authored
A subtle type checker bug, which showed up in rebindable1 test
-
simonpj authored
Handle Int literals in TH
-
simonpj authored
---------------------------------- Fix a long-standing eta-reduction bug ---------------------------------- Consider the stupid definition f = \x -> f x We were erroneously eta-reducing this to f = f (unsound because they'd be distinguishable by `seq`) The reason was that simplLazyBind was exposing the arity of a recursive function to its own RHS, when all it was really trying to do was expose the *rules* for the function. Easily fixed. This fixes some "Bad eta expand" warnings. Good all round. In particular, fixes rn006.
-
simonpj authored
comments
-
simonpj authored
Comments
-
simonpj authored
Two win32 wibbles
-
- 09 Apr, 2003 4 commits
-
-
simonpj authored
Document how to get rid of the console window
-
simonpj authored
wibble
-
simonpj authored
------------------------------------- Fix a functional-dependency-related bug in tcSimpifyRestricted ------------------------------------- MERGE TO STABLE if it goes over conveniently (but I rather think it may not) tcSimplifyRestricted works by (a) simplifying brutall to find out what the constrained type variables are, and (b) simplifying more gently, knowing the constrained type varaibles. The bug is that in step (b) we were not doing the check-for-improvement-and-loop part, thinking that step (a) had alrady done all the improvement. But not so, as an example in the code now shows. Simple to fix. I rather think we could tidy up these various loops.
-
simonpj authored
Comments
-
- 08 Apr, 2003 8 commits
-
-
sof authored
if needs be, include Capability.h
-
sof authored
resumeThread: concCall arg is universally unused (but leave it in for now)
-
sof authored
UPD_IND_NOLOCK(): update THREADED_RTS & SMP versions wrt rts/Storage.h:updateWithIndirection() change
-
simonpj authored
---------------------------------- Try swapping order of inference for applications ---------------------------------- For a long time we've inferred the argument types of a function call before using information from the expected type passed in. This commit swaps the order. See comments with tcApp for an example where this makes a real difference. I don't think any error messages get signficantly worse, but yell if you find any.
-
simonpj authored
Better error messages
-
simonpj authored
ToDo comments
-
simonpj authored
Improve error messages on newtype deriving
-
simonpj authored
Fix unbox-strict-fields deriving bug; MERGE TO STABLE
-
- 06 Apr, 2003 1 commit
-
-
igloo authored
Typecheck type reification brackets [t| ... |]
-
- 04 Apr, 2003 1 commit
-
-
reid authored
Missing commit from last night: Add GreenCard files, GreenCard derived files, etc. to the lists of sources so that make depend and make clean work
-
- 02 Apr, 2003 1 commit
-
-
sof authored
threadStackOverflow() wibble
-