- 18 Jul, 2014 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 15 Jul, 2014 1 commit
-
-
Simon Peyton Jones authored
In looking at Trac #9063 I decided to re-design the default instances for associated type synonyms. Previously it was all jolly complicated, to support generality that no one wanted, and was arguably undesirable. Specifically * The default instance for an associated type can have only type variables on the LHS. (Not type patterns.) * There can be at most one default instances declaration for each associated type. To achieve this I had to do a surprisingly large amount of refactoring of HsSyn, specifically to parameterise HsDecls.TyFamEqn over the type of the LHS patterns. That change in HsDecls has a (trivial) knock-on effect in Haddock, so this commit does a submodule update too. The net result is good though. The code is simpler; the language specification is simpler. Happy days. Trac #9263 and #9264 are thereby fixed as well.
-
- 02 Jul, 2014 1 commit
-
-
Austin Seipp authored
Summary: New flag to ghc-pkg register/update to lift the restriction on multiple instances of the same package version being in a db at once. Lifting the restriction is easy. The tricky bit is checking ghc does something sensible, but from the reading of the code it should treat such instances the same way it does with multiple instances between multiple DBs. We'll also need a way to unregister by installed package id. Test Plan: need to test that ghc is doing what we expect, at least if you use it like -hide-all-packages -package-id this -package-id that Reviewers: ezyang, simonmar Reviewed By: simonmar Subscribers: relrod Projects: #ghc Differential Revision: https://phabricator.haskell.org/D32
-
- 01 Jul, 2014 3 commits
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
rwbarton authored
For parallelism with the existing code. I don't think it should make any difference.
-
rwbarton authored
This is slightly hackish, but hp2ps is already convoluted enough that I don't feel bad about it.
-
- 25 Jun, 2014 3 commits
-
-
Mateusz Kowalczyk authored
Updates submodule
-
Mateusz Kowalczyk authored
Updates submodule
-
Herbert Valerio Riedel authored
Specifically, the following sub-repos/modules are converted: - libffi-tarballs - libraries/array - libraries/deepseq - libraries/directory - libraries/dph - libraries/filepath - libraries/haskell2010 - libraries/haskell98 - libraries/hoopl - libraries/hpc - libraries/old-locale - libraries/old-time - libraries/parallel - libraries/process - libraries/stm - libraries/unix - nofib - utils/hsc2hs N.B. ghc-tarballs is not converted as it will probably be handled differently in the future. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 18 Jun, 2014 2 commits
-
-
Mateusz Kowalczyk authored
Updates submodule
-
Mateusz Kowalczyk authored
Updates submodule.
-
- 06 Jun, 2014 1 commit
-
-
Simon Peyton Jones authored
This was a serious bug, exposed by Trac #9175. The matcher and wrapper must be LocalIds, like record selectors and dictionary functions, for the reasons now documented in Note [Exported LocalIds] in Id.lhs In fixing this I found - PatSyn should have an Id inside it (apart from the wrapper and matcher) It should be a Name. Hence psId --> psName, with knock-on consequences - Tidying of PatSyns in TidyPgm was wrong - The keep-alive set in Desugar.deSugar (now) doesn't need pattern synonyms in it I also cleaned up the interface to PatSyn a little, so there's a tiny knock-on effect in Haddock; hence the haddock submodule update. It's very hard to make a test for this bug, so I haven't.
-
- 05 Jun, 2014 1 commit
-
-
Gabor Greif authored
-
- 30 May, 2014 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 29 May, 2014 1 commit
-
-
Mateusz Kowalczyk authored
This doesn't make any actual changes as to what the source looked like at previous commit we were pointing to but I made some foolish reverts that I now have to accomodate for. Sorry!
-
- 27 May, 2014 1 commit
-
-
Gergő Érdi authored
This way, the Ids for the matchers/wrappers are reused by importing modules, and thus unfoldings are kept. Also updates haddock submodule to accomodate tweaks in PatSyn representation
-
- 20 May, 2014 1 commit
-
-
Herbert Valerio Riedel authored
This was generated by applying `-ddump-minimal-imports` and addresses the current compile failure (see #9016 ) with GHC HEAD due to the new `die` being exported by `System.Exit` Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 19 May, 2014 1 commit
-
-
Christian Maeder authored
Fixes #8783 . In order to avoid querying the nm version that does not work on Mac OS X we use the "nm -P" output that is supposed to produce (more portable) POSIX output and works on all tested OSes (MinGW, Mac OS X, Solaris and Linux using GNU nm) although slightly different (as documented). The "nm -P" output is actually only needed to recognize the output of a non-GNU Solaris nm (all other OSes produce sane outut using "nm" only). Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 15 May, 2014 2 commits
-
-
Herbert Valerio Riedel authored
The utils/hpc/*.hs code doesn't use any CPP statements anyway, so this extensions was redundantly enabled to begin with. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
This also makes ghc-pkg.cabal `default-extensions`-free NB: Printing this commit via `git show --ignore-all-spaces` shows the only non-whitespaces changes are in `ghc-pkg.cabal` Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 14 May, 2014 4 commits
-
-
Simon Marlow authored
-
Herbert Valerio Riedel authored
Haskell2010 implies (at least) EmptyDataDecls, ForeignFunctionInterface, PatternGuards, DoAndIfThenElse, and RelaxedPolyRec. This is a follow-up to dd92e217 Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
This is a first step towards eliminating `default-extensions` in favour of per-file declared `{-# LANGUAGE ... #-}` pragmas. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Mateusz Kowalczyk authored
This splits up Haddock up a bit to allow use of its parser (and in the future perhaps more) without GHC dependency. It should build fine with the regular work-flow but if you get problems with building Haddock then please revert this and let me know.
-
- 04 May, 2014 1 commit
-
-
Simon Marlow authored
Problems were found on 32-bit platforms, I'll commit again when I have a fix. This reverts the following commits: 54b31f74 b0534f78
-
- 03 May, 2014 2 commits
-
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Mateusz Kowalczyk authored
-
- 02 May, 2014 1 commit
-
-
Simon Marlow authored
This tracks the amount of memory allocation by each thread in a counter stored in the TSO. Optionally, when the counter drops below zero (it counts down), the thread can be sent an asynchronous exception: AllocationLimitExceeded. When this happens, given a small additional limit so that it can handle the exception. See documentation in GHC.Conc for more details. Allocation limits are similar to timeouts, but - timeouts use real time, not CPU time. Allocation limits do not count anything while the thread is blocked or in foreign code. - timeouts don't re-trigger if the thread catches the exception, allocation limits do. - timeouts can catch non-allocating loops, if you use -fno-omit-yields. This doesn't work for allocation limits. I couldn't measure any impact on benchmarks with these changes, even for nofib/smp.
-
- 30 Apr, 2014 1 commit
-
-
Joachim Breitner authored
As suggested in #9057.
-
- 29 Apr, 2014 1 commit
-
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 27 Apr, 2014 2 commits
-
-
Nicolas Trangez authored
Issue discovered by Coverity scan, CID 43167. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Nicolas Trangez authored
Issue discovered by Coverity scan, CID 43165. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 21 Apr, 2014 2 commits
-
-
The original proposal discussion can be found at http://thread.gmane.org/gmane.comp.lang.haskell.libraries/20872 Note this also updates the Haddock submodule to remove Hadock's local `die` implementation.
-
Herbert Valerio Riedel authored
Soon, System.Exit will export the new `die` (see #9016) which would clash with Cabal's own `die` implementation. This commit provides forward-compatiblity. This also updates the Cabal submodule which requires a similiar fix. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 16 Apr, 2014 1 commit
-
-
Herbert Valerio Riedel authored
This corresponds to the RC of the soon-to-be Cabal 1.20 release One noteworthy change is the removal of the `--with-ranlib` flag requiring a small adaptation in the GHC build system. Moreover two new licences were added, MPL and BSD2. Due to https://github.com/haskell/cabal/issues/1622 Cabal-1.20 now allows to strip libraries as well, this doesn't work well with `ghc-cabal copy` being fed a `":"` strip-command argument which was simply ignored in the past. The current code tries to retain this semantics as backward compat. However, this needs more investigation as I'm not sure if/why the `test_bindist` step doesn't want the libraries to be stripped on installation. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 14 Apr, 2014 1 commit
-
-
Herbert Valerio Riedel authored
This submodule update was forgotten to be included in eeaea2df Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 13 Apr, 2014 1 commit
-
-
Gergő Érdi authored
-
- 11 Apr, 2014 1 commit
-
-
Mateusz Kowalczyk authored
-
- 03 Apr, 2014 1 commit
-
-
Mateusz Kowalczyk authored
-
- 01 Apr, 2014 1 commit
-
-
Mateusz Kowalczyk authored
-