- Mar 21, 2014
-
-
foxnorth authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
awson authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Joachim Breitner authored
(I recall that this was needed in some cases in the past, and might fix the validate error on travis.)
-
- Mar 20, 2014
-
-
tibbe authored
gcptr should only be used for pointers that the GC should follow. While this didn't cause any bugs right now, since these variables aren't live over a GC, it's clearer to use the right type.
-
- Mar 19, 2014
-
-
Gergő Érdi authored
interface contents
-
Gergő Érdi authored
This is so that generated names like e.g. workers don't show up as infix operators when using something like -ddump-simpl.
-
Iavor S. Diatchki authored
This is done with two built-in type families: `CmpNat and `CmpSymbol`. Both of these return a promoted `Ordering` type (EQ, LT, or GT).
-
- Mar 18, 2014
-
-
Simon Peyton Jones authored
For DFunUnfoldings we were failing to occurrence-analyse the unfolding, and that meant that a loop breaker wasn't marked as such, which in turn meant it was inlined away when it still had occurrence sites. See Note [Occurrrence analysis of unfoldings] in CoreUnfold. This is a pretty long-standing bug, happily nailed by John Lato.
-
Herbert Valerio Riedel authored
Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Iavor S. Diatchki authored
I moved the "promoted literals" sub-section into a separate section, as many folks were not finding the docs. I also added some additional paragraphs describing the current state of the feature.
-
- Mar 17, 2014
-
-
Joachim Breitner authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Joachim Breitner authored
-
Simon Peyton Jones authored
We don't yet understand WHY commit ad15c2, which is to do with CmmSink, causes seg-faults on Windows, but it certainly seems to. So reverting it is a stop-gap, but we need to un-block the 7.8 release. Many thanks to awson for identifying the offending commit.
-
Simon Peyton Jones authored
There was even a comment to warn about this possiblity, and it finally showed up in practice! This patch fixes it quite nicely, with commens to explain.
-
- Mar 16, 2014
-
-
Joachim Breitner authored
This partly reverts commit e239753c. Since Coercible is exported via GHC.Types, so "primclass" is no longer needed. The support for => in primops.pp is still required for coerce.
-
Joachim Breitner authored
so do not export it in GHC.Prim, and also have the pseudo-code for GHC.Prim import GHC.Types, so that haddock is happy.
-
Joachim Breitner authored
(Unchecked comment-only commits should better use the right commenting style...)
-
Joachim Breitner authored
This prepares against future breakage, especially if #8894 is tackled.
-
- Mar 14, 2014
-
-
Richard Eisenberg authored
This is a followup to the fix for #8827, and should be merged with that change.
-
Joachim Breitner authored
-
Joachim Breitner authored
Even if the recursion is a nice tail-call only recusion, we'd stil be calling the thunk multiple times and eta-expansion would be wrong. Includes a [Note]. (Also shows the disadvantage of unit tests: They had the same bug.)
-
Gergő Érdi authored
-
Gergő Érdi authored
-
Gergő Érdi authored
-
Gergő Érdi authored
-
Joachim Breitner authored
as a subsection of "Equality constraints", containing references to the module's haddock and to the paper. Fixes #8888
-
Joachim Breitner authored
-
Joachim Breitner authored
-
Herbert Valerio Riedel authored
This fixes a wrong #if around role annotations (see #8718) Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Austin Seipp authored
Who knows how long the tests for containers have been broken. They haven't bitrotted, however. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Joachim Breitner authored
-
Joachim Breitner authored
-
Richard Eisenberg authored
-
Richard Eisenberg authored
There were two unrelated errors fixed here: 1) Make sure that only the *result kind* is reified when reifying a type family. Previously, the whole kind was reified, which defies the TH spec. 2) Omit kind patterns in equations.
-
Richard Eisenberg authored
-