- Oct 31, 2013
-
-
Herbert Valerio Riedel authored
[hackage:haskeline] has now an official GitHub repo at https://github.com/judah/haskeline.git Consequently, there remain only 3 repos which are Darcs hosted (and thus still require darcs2git mirroring), namely [hackage:time], [hackage:terminfo], and [hackage:transformers]. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- Oct 29, 2013
-
-
Richard Eisenberg authored
The problem was that the renamer treated role annotations by looking up the annotated type in the module being compiled. If this check succeeded, it was assumed that the annotated type was being compiled at the same time. But this assumption is false! In GHCi (and Template Haskell), sometimes compilation within one module can be staged. So, now there is a more intricate check for orphan role annotations. This also has the benefit of producing better error messages.
-
- Oct 28, 2013
-
-
Erik de Castro Lopo authored
-
- Oct 27, 2013
-
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
This is a follow-up to 0620241a which addressed only the `Prim.hs` output; this commit adds the missing `LANGUAGE` pragmas for the generated `PrimopWrappers.hs` output as well. While at it, the redundant `CPP` pragma is removed from the generated `Prim.hs` file. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Austin Seipp 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>
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
GlobalMemoryStatusEx actually requires _WIN32_WINNT to be defined as 0x0501 (Windows XP) for availability. For completeness, I bumped WIN32_WINNT in Ticker and OSThreads as well. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- Oct 26, 2013
-
-
Herbert Valerio Riedel authored
-
Austin Seipp authored
Darwin doesn't support _SC_PHYS_PAGES, but we can get the exact number of bytes of physical memory via 'hw.memsize', so we use that instead. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
This reverts commit 2f5db98e.
-
Austin Seipp authored
This reverts commit 9026c77a.
-
Joachim Breitner authored
It was `[SrcSpan]`, but never ever contained more than one span.
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- Oct 25, 2013
-
-
Austin Seipp 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
* Note new SPEC type in release notes. * Document SPEC in the users guide under the documentation for -fspec-constr. * Clean up comments in SpecConstr regarding the forcing of specialisation (see Note [Forcing specialisation].) 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>
-
Austin Seipp authored
It needs freeStablePtr, which tripped my validate build, due to an implicit declaration warning. I'm quite surprised this somehow did not trip the build before. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
takano-akio authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
takano-akio authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
takano-akio authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
SpecConstr has for a while now looked for types with the built in ForceSpecConstr annotation, in order to know where to be particularly aggressive. Unfortunately using an annotation has a number of downsides, the most prominent two being: A) ForceSpecConstr is vital for efficiency (even if it's a hack), but it means users of it must have GHCI - even though stage2 features are not required for anything but the annotation. B) Any user who might need it (read: vector) has to duplicate the same piece of code. In general there are few people actually doing this, but it's unclear why they should have to. This patch makes SpecConstr look for functions applied to the new GHC.Types.SPEC type - a copy of the already-extant 'SPEC' type - as well as look for annotations, in the stage2 compiler. In particular, this means `vector` can now be built with a stage1 compiler, since it no longer depends on stage2 for anything else. This is particularly important for e.g. iOS cross-compilers. This also means we should be able to build `vector` earlier in the build process too, but this patch doesn't address that. This requires an accompanying bump in ghc-prim. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
This is suitable e.g. for iOS. Authored-by:
Authored-by: Luke Iannini <lukexi@me.com> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Once again the whitespace rules (and the rules concerning expansion of tokens) have bitten us. Authored-by:
Authored-by: Luke Iannini <lukexi@me.com> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
This includes both executables (by correcly setting the rpath to the topDir) and libffi, and GHC itself, so that everything works with no build tree. Authored-by:
Christiaan Baaj <christiaan.baaij@gmail.com> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
This is encoded as RtsFlags.GcFlags.maxStkSize == 0.
-
Ben Gamari authored
-
Ben Gamari authored
This requires that stackOverflow() in RtsUtils.c be passed a reference to the current TSO. This requires a small change in libraries/base.
-
Ben Gamari authored
-
Simon Peyton Jones authored
... plus a couple of unused variables in TcSMonad
-
Simon Peyton Jones authored
There was no useful distinction; a simple refactoring.
-