- 14 May, 2009 1 commit
-
-
Ian Lynagh authored
-
- 13 May, 2009 5 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
simonpj@microsoft.com authored
A long-standing improvement to the error message for kinds. Now instead of Expected kind `* -> *', but `Int' has kind `*' we get The first argument of `T' should have kind `* -> *', but `Int' has kind `*' Ha!
-
simonpj@microsoft.com authored
Record updates are amazingly hard to typecheck right. This is one place where GHC's policy of typechecking the original source is much harder than desugaring and typechecking that! Anyway, the bug here is that to compute the 'fixed' type variables I was only looking at one constructor rather than all the relevant_cons Test is typecheck/should_compile/T3219, which GHC 6.10 barfs on (with Lint).
-
simonpj@microsoft.com authored
-
- 01 May, 2009 2 commits
-
-
Duncan Coutts authored
When using shared libs we should link each lib against its deps. This allows the dynamic linker to chase dependencies and means we do not have to specify all indirect dependencies (as we must do for static libs).
-
Duncan Coutts authored
As is already the case for ghc -fPIC. This is needed because ghc -dynamic means to generate code that is capable of being linked to Haskell shared libs and for C code the equivalent is -fPIC. Normally C code does not need -fPIC merely to link to shared libs however Haskell shared libs do not follow common conventions. In particular the static data cannot be referenced statically because it cannot be copied by the static linker. The linker cannot copy them because we do not specify a .size for the _closure entries (in the .data section) though in principle we could.
-
- 13 May, 2009 4 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
- 22 Apr, 2009 1 commit
-
-
y.zhuang5@lse.ac.uk authored
-
- 13 May, 2009 1 commit
-
-
Simon Marlow authored
-
- 11 May, 2009 3 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
- 08 May, 2009 1 commit
-
-
Simon Marlow authored
-
- 12 May, 2009 1 commit
-
-
simonpj@microsoft.com authored
Following a suggestion of Claus Reinke, this patch improves the error messages involving type functions. Here's the relevant note from TcTyFuns. Note [Non-injective type functions] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It's very confusing to get a message like Couldn't match expected type `Depend s' against inferred type `Depend s1' so pp_open_tc adds: NB: `Depend' is a (non-injective) type function Currently we add this independently for each argument, so we also get Couldn't match expected type `a' against inferred type `Dual (Dual a)' NB: `Dual' is a (non-injective) type function which is arguably redundant. But on the other hand, it's probably a good idea for the programmer to know the error involves type functions so I've left it in for now. The obvious alternative is to only add this NB in the case of matching (T ...) ~ (T ...).
-
- 11 May, 2009 3 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
See comment for details
-
Simon Marlow authored
-
- 08 May, 2009 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
MUT time (elapsed) GC time (elapsed) Task 0 (worker) : 0.00s ( 0.00s) 0.00s ( 0.00s) Task 1 (worker) : 0.00s ( 0.01s) 0.00s ( 0.00s) Task 2 (worker) : 0.00s ( 0.03s) 0.00s ( 0.00s) Task 3 (bound) : 0.00s ( 0.00s) 0.02s ( 0.04s)
-
- 05 May, 2009 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 01 May, 2009 1 commit
-
-
Simon Marlow authored
-
- 09 May, 2009 3 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 08 May, 2009 4 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
We still need to sort out the "install-docs" story to get this working properly.
-
Ian Lynagh authored
Now we have variables for whether or not to build the docbook docs as HTML, as PS, and as PDF. The configure script output now matches what the build system will do (except it cannot take account of any mk/build.mk settings, of course).
-
- 07 May, 2009 4 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 06 May, 2009 1 commit
-
-
Ian Lynagh authored
-
- 05 May, 2009 1 commit
-
-
Ian Lynagh authored
We only need the forwardslash mode now, so always use that mode and don't accept any arguments.
-