- Sep 24, 2010
-
-
Simon Peyton Jones authored
This is a follow-on to Simon's patch yesterday, developed with him. It cleans up the computation of how packages are installed, and installs the right ones.
-
Simon Peyton Jones authored
-
- Sep 23, 2010
-
-
Simon Peyton Jones authored
Put it back on when my patch is applied to the containers repo. (the one that removes two refuable lambdas)
-
Simon Peyton Jones authored
and increase its default value. This makes overloaded functions a bit keener to inline. Which fixes Trac #4321
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
DPH is now using the public vector package instead of its internal version. vector and primitive are not "boot" packages; they aren't required to build GHC, but they are required to validate (because we include DPH when validating). If you say './darcs-all get --no-dph' then you don't get DPH, vector, or primitive.
-
Simon Marlow authored
Instead of the ghc-stage and ghc-stage2-package files in a package, we now have a list of these in ghc.mk. There are other similar lists (of boot-packages and non-installable packages), so this is not too bad, and is simpler. While poking around in the top-level ghc.mk file I spotted various opportunities to clean up and re-order some of the cruft that has accumulated over time.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
The point here is that SCCs get in the way of eta expansion and we must treat them uniformly.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
When this ASSERT tripped in CoreToStg it tried to print out too much, which tripped the asssertion again. Result: an infinite loop with no output at all. Hard to debug!
-
Simon Peyton Jones authored
This is what was giving the "absent entered" messages See Note [Absent errors] in WwLib. We now return a suitable literal for absent values of unlifted type.
-
- Sep 22, 2010
-
-
Simon Peyton Jones authored
This makes \(x:xs) -> e want when you have -fwarn-incomplete-patterns, which is consistent.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
The problem arose with this kind of thing x = (,) (scc "blah" Nothing) Then 'x' is marked NoCafRefs by CoreTidy, becuase it has arity 1, and doesn't mention any caffy things. That in turns means that CorePrep must not float out the sat binding to give sat = scc "blah" Nothing x = (,) sat Rather we must generate x = \eta. let sat = scc "blah" Nothing in (,) sat eta URGH! This Caf stuff is such a mess.
-
Ian Lynagh authored
-
- Sep 21, 2010
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
Thorikil ran into this when doing a PPC OS X build. We now also don't use -m32 on PPC/OSX, but I don't think it should be necessary. We can add it back if it does turn out to be.
-
Simon Marlow authored
saying make TRACE=1 prints most of the macro calls and their arguments. It's easy to trace new macros; see rules/trace.mk.
-
Simon Marlow authored
Also add some comments about what extra-packages is doing
-
- Sep 20, 2010
-
-
Simon Marlow authored
-
- Sep 21, 2010
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- Sep 20, 2010
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
The FFI GHCi import lib isn't needed as compiler/ghci/Linker.lhs + rts/Linker.c link the interpreted references to FFI to the compiled FFI. We therefore filter it out so that we don't get duplicate symbol errors.
-
- Sep 19, 2010
-
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
The new flag prints out a warning if you have a local, polymorphic binding that lacks a type signature. It's meant to help with the transition to the new typechecker, which discourages local let-generalisation. At the same time I moved the missing-signature code to TcHsSyn, where it takes place as part of zonking. That way the types are reported after all typechecking is complete, thereby fixing Trac #3696. (It's even more important for local bindings, which is why I made the change.)
-