- 18 Feb, 2014 7 commits
-
-
Joachim Breitner authored
nice numbers coming from these micro-benchmarks.
-
Joachim Breitner authored
-
Joachim Breitner authored
-
Joachim Breitner authored
by elaborating the domain a bit.
-
Simon Peyton Jones authored
I was too eager when fixing Trac #8566, and dropped too many equalities on the floor, thereby causing Trac #8705. The fix is easy: delete code. Lots of new comments!
-
Simon Peyton Jones authored
Since ($) simply returns its result, via a tail call, it can perfectly well have an unlifted result type; e.g. foo $ True where foo :: Bool -> Int# should be perfectly fine. This used to work in GHC 7.2, but caused a Lint failure. This patch makes it work again (which involved removing code in TcExpr), but fixing the Lint failure meant I had to make ($) into a wired-in Id. Which is not hard to do (in MkId).
-
Simon Peyton Jones authored
There was a small mixup here, exposed by Trac #8762. Now clarified with better function names and comments.
-
- 17 Feb, 2014 1 commit
-
-
Austin Seipp authored
As discussed in the ticket, after the landing of #8773, GND is now -XSafe compatible. This fixes the test fallout as well. In particular SafeLang07 was removed following in the steps of SafeLang06, since it no longer failed from GND, but failed due to roles and was thus invalid. The other tests were tweaked to use TemplateHaskell instead of GND in order to trigger safety warnings. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 13 Feb, 2014 2 commits
-
-
eir@cis.upenn.edu authored
To make a role annotation on a class asserting a role other than nominal, you now need -XIncoherentInstances. See the ticket for more information as to why this is a good idea.
-
eir@cis.upenn.edu authored
-
- 11 Feb, 2014 4 commits
-
-
Joachim Breitner authored
-
Joachim Breitner authored
when matching a lambda in the template against an expression. When matching, look through coercions (only for value lambdas for now), and look through currently active unfoldings, if these are undersaturated, i.e. produce a lambda. This replaces the existing, somewhat fishy eta-expansion.
-
Joachim Breitner authored
(This tests #2110.)
-
Joachim Breitner authored
just like boxed type equalities.
-
- 10 Feb, 2014 3 commits
-
-
Joachim Breitner authored
Some nice improvements on already succeeding test cases (#876, #7954 and #4267) Test #149 needed a little change, lest call arity causes a allocation change that we do not want to test here.
-
Joachim Breitner authored
This also sets precedence for testing internals of GHC directly, i.e. without trying to come up with Haskell code and observable effects. Let's see how that goes. I put all the tests (including those where the analysis could do better) in one file because starting the GHC API is quite slow.
-
eir@cis.upenn.edu authored
-
- 09 Feb, 2014 9 commits
-
-
Signed-off-by:
Richard Eisenberg <eir@cis.upenn.edu>
-
eir@cis.upenn.edu authored
We should still have pattern synonyms in TH, though.
-
eir@cis.upenn.edu authored
-
eir@cis.upenn.edu authored
-
eir@cis.upenn.edu authored
-
eir@cis.upenn.edu authored
-
Gergő Érdi authored
-
Gergő Érdi authored
This also fixes the internal crash when using pattern synonyms in GHCi (#8749)
-
eir@cis.upenn.edu authored
This patch allows turning on ImpredicativeTypes while type-checking the code generated by GeneralizedNewtypeDeriving. It does this by adding a field ib_extensions to InstBindings, informing the type-checker what extensions should be enabled while type-checking the instance.
-
- 08 Feb, 2014 1 commit
-
-
Joachim Breitner authored
-
- 07 Feb, 2014 2 commits
-
-
Joachim Breitner authored
the ConTag may be out of range (e.g. if the type constructor is imported via SOURCE and we don't know any of its data constructors); just return Nothing without complaining in that case. This fixes #8743.
-
Joachim Breitner authored
which only occurs when the instance being compiled is also present from a .hs-boot file.
-
- 02 Feb, 2014 1 commit
-
-
Herbert Valerio Riedel authored
This tests various properties expected to hold for quotRem, divMod, div, mod, quot, and rem. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 28 Jan, 2014 1 commit
-
-
Austin Seipp authored
I forgot to push these from my win32 machine. A lot of them actually look like a result of Herbert doing his GMP work, which might slightly affect allocations on platforms like Windows (where we always use in-tree GMP - but presumably Windows allocations could fluxuate slightly due to minute details in the GMP implementation, too.) Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 23 Jan, 2014 5 commits
-
-
Gabor Greif authored
-
Joachim Breitner authored
catching mistakes that I had during my refactoring, and which I do not want to do again.
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
My build settings were wrong last time. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
This reverts commit c5088e29.
-
- 22 Jan, 2014 3 commits
-
-
Austin Seipp authored
Some of these are actually worse than I thought upon inspection, but after a little digging I haven't found exactly what has caused them. Some were certainly bitrotted, but others seem updated more recently, so something has slipped. I'll be filing a ticket about these. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Rather hilarious (and my fault.) Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
A few appear to have bitrotted a little. There are others we are actually doing better on, but that will come in the next commit. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 20 Jan, 2014 1 commit
-
-
Gergő Érdi authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-