This project is mirrored from https://gitlab.haskell.org/ghc/ghc.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
- 14 Dec, 2010 1 commit
-
-
Simon Marlow authored
-
- 09 Dec, 2010 1 commit
-
-
Simon Marlow authored
-
- 15 Dec, 2010 4 commits
-
-
simonpj@microsoft.com authored
This bug led to Trac #4816, which is hereby fixed
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
See Note [Enumeration types] in TyCon, and comments in Trac #4528
-
simonpj@microsoft.com authored
The bytecode generator was being too eager. Fixes Trac #4528, or rather, a near variant.
-
- 14 Dec, 2010 7 commits
-
-
simonpj@microsoft.com authored
This satisfies Trac #3877. Documentation is changed too. I'm not sure if this should go in 7.0.2.
-
simonpj@microsoft.com authored
When we have TypeSynonymInstances without FlexibleInstances we should still insist on a H98-style instance head, after looking through the synonym. This patch also make FlexibleInstances imply TypeSynonymInstances. Anything else is a bit awkward, and not very useful.
-
simonpj@microsoft.com authored
I will add more comments, but I want to commit this tonight, so the overnight builds get it.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
Fixes an accidental glitch in T1835
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 13 Dec, 2010 2 commits
-
-
Ian Lynagh authored
-
simonpj@microsoft.com authored
This patch finally deals with the super-delicate question of superclases in possibly-recursive dictionaries. The key idea is the DFun Superclass Invariant (see TcInstDcls): In the body of a DFun, every superclass argument to the returned dictionary is either * one of the arguments of the DFun, or * constant, bound at top level To establish the invariant, we add new "silent" superclass argument(s) to each dfun, so that the dfun does not do superclass selection internally. There's a bit of hoo-ha to make sure that we don't print those silent arguments in error messages; a knock on effect was a change in interface-file format. A second change is that instead of the complex and fragile "self dictionary binding" in TcInstDcls and TcClassDcl, using the same mechanism for existential pattern bindings. See Note [Subtle interaction of recursion and overlap] in TcInstDcls and Note [Binding when looking up instances] in InstEnv. Main notes are here: * Note [Silent Superclass Arguments] in TcInstDcls, including the DFun Superclass Invariant Main code changes are: * The code for MkId.mkDictFunId and mkDictFunTy * DFunUnfoldings get a little more complicated; their arguments are a new type DFunArg (in CoreSyn) * No "self" argument in tcInstanceMethod * No special tcSimplifySuperClasss * No "dependents" argument to EvDFunApp IMPORTANT It turns out that it's quite tricky to generate the right DFunUnfolding for a specialised dfun, when you use SPECIALISE INSTANCE. For now I've just commented it out (in DsBinds) but that'll lose some optimisation, and I need to get back to this.
-
- 10 Dec, 2010 1 commit
-
-
dimitris@microsoft.com authored
Also, same thing now applies for adding superclasses.
-
- 09 Dec, 2010 1 commit
-
-
dimitris@microsoft.com authored
Moreover canonicalisation now is "clever", i.e. it never canonicalizes a class constraint if it can already discharge it from some other inert or previously encountered constraints. See Note [Avoiding the superclass explosion]
-
- 13 Dec, 2010 1 commit
-
-
Ian Lynagh authored
This works around a segfault we get when trying to load libiconv.a on some platforms.
-
- 12 Dec, 2010 1 commit
-
-
Ian Lynagh authored
-
- 10 Dec, 2010 6 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
They should use the GHC from the build tree, not the bootstrapping compiler.
-
simonpj@microsoft.com authored
The renamer wasn't attaching the right used-variables to a TransformStmt constructor. The real modification is in RnExpr; the rest is just pretty-printing and white space.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
- 08 Dec, 2010 1 commit
-
-
simonpj@microsoft.com authored
See Note [Case elimination: lifted case]. Thanks to Roman for identifying this case.
-
- 10 Dec, 2010 7 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
benl authored
If GHC's command line options are bad then the options parser uses the pretty printer before the -dppr-cols flag has been read.
-
benl authored
-
benl authored
-
- 08 Dec, 2010 6 commits
- 09 Dec, 2010 1 commit
-
-
Simon Marlow authored
-