- 19 Apr, 2014 9 commits
-
-
bernalex authored
`sortOn` sorts a list by comparing the results of a key function applied to each element. `sortOn f` is equivalent to `sortBy . comparing f`, but has the performance advantage of only evaluating `f` once for each element in the input list. Historical note: This was already proposed in 2008 as part of http://www.haskell.org/pipermail/libraries/2008-October/010797.html It was, however, the recent re-attempt http://www.haskell.org/pipermail/libraries/2014-April/022489.html that let `sortOn` make it into base at last. Maybe the other functions mentioned in #2659 might be worth reconsidering as well.
-
Jan Stolarek authored
This checks that all the required extensions are enabled for the inferred type signature. Updates binary and vector submodules.
-
Herbert Valerio Riedel authored
This adapts `sync-all` and `packages` to the recently folded-in Git repositories - `base.git` - `ghc-prim.git` - `integer-gmp.git` - `integer-simple.git` - `template-haskell.git` See #8545 as well as 5f54d678 for more details. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
At the time of merge, template-haskell.git was at [9bcc122819a6f4a2ae7ad569717324b8368e801c/template-haskell] Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
At the time of merge, integer-gmp.git was at [d7bff4dddfa10389156ca11f75a5a23e78cf3ab0/integer-gmp] Note: All but the last/current GMP tarball were removed from the history to keep the Git history size at a minimum. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
At the time of merge, integer-simple.git was at [9e8b924f68c4cdb6c7ae88f274baa3560aaa305e/integer-simple] Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
At the time of merge, base.git was at [52c0b09036c36f1ed928663abb2f295fd36a88bb/base] Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
At the time of merge, ghc-prim.git was at [ad9bf96815cb5a9bb4acc51c99eff20be3e50da3/ghc-prim] Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 18 Apr, 2014 2 commits
-
-
Simon Peyton Jones authored
In the rather gnarly filterImports code, someone had forgotten the AvailTC invariant: in AvailTC n [n,s1,s2], the 'n' is itself included in the list of names.
-
Herbert Valerio Riedel authored
see also https://github.com/haskell/cabal/issues/1789
-
- 17 Apr, 2014 2 commits
-
-
Herbert Valerio Riedel authored
The testsuite reference output for ghcpkg01 needs to be adapted since a "More diff friendly pretty printing of cabal files" is now performed.
-
Simon Peyton Jones authored
Fixes Trac #8987. See Note [Exceptions in TH] Thanks to Yuras Shumovich for doing this.
-
- 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>
-
- 15 Apr, 2014 1 commit
-
-
Joachim Breitner authored
This was reported by David Virebayre on haskell-cafe.
-
- 14 Apr, 2014 6 commits
-
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
Trac #8985 showed up a major shortcoming in the kind unifier: it was ignoring untoucability. This has unpredictably-bad consequences; notably, the skolem-escape check can fail. There were two things wrong * TcRnMonad.isTouchableTcM was returning a constant value for kind variables (wrong), and even worse the constant was back-to-front (it was always False). * We weren't even calling isTouchableTcM in TcType.unifyKindX. I'm not sure how this ever worked. Merge to 7.8.3 in due course.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Herbert Valerio Riedel authored
This submodule update was forgotten to be included in eeaea2dfSigned-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 13 Apr, 2014 4 commits
-
-
Gabor Greif authored
-
cactus authored
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 12 Apr, 2014 3 commits
- 11 Apr, 2014 2 commits
-
-
Mateusz Kowalczyk authored
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 10 Apr, 2014 2 commits
-
-
cactus authored
-
Simon Peyton Jones authored
In tidying up the flattener I introduced an error that no regression test caught, giving rise to Trac #8978, #8979. It shows up if you have a type synonym whose RHS mentions type functions, such sas type family F a type T a = (F a, a) -- This synonym isn't properly flattened The fix is easy, but sadly the bug is in the released GHC 7.8.1
-
- 09 Apr, 2014 2 commits
-
-
Simon Peyton Jones authored
-
Edward Z. Yang authored
check_stdout(f) allows you to override the test framework's diff based output checking with another mechanism. f is a function which takes two arguments: the first is the filename containing the observed stdout, the second is the normaliser that would have been applied (in case you want to read, normalise, and then do something.) Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 08 Apr, 2014 6 commits
-
-
Simon Peyton Jones authored
This change adds a suggestion Possible fix: add a type signature for ‘f’ when we have a GADT-style definition with a type we can't figure out. See Note [Suggest adding a type signature] in TcErrors. This initially came up in the discussion of Trac #8968.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
I don't think there should be any change in behaviour, but the code is clearer now. Function checkSize is elimiated in favour of doing those checks before (rather than after) splitFun/splitThunk.
-
Simon Peyton Jones authored
See Note [Demand analysis for trivial right-hand sides] in DmdAnal. This allows a function with arity 2 to have a DmdSig with 3 args; which in turn had a knock-on effect, which showed up in the test for Trac #8963. In fact it seems entirely reasonable, so this patch removes the WARN and CoreLint checks that were complaining.
-
Simon Marlow authored
One important reason is that gcc 4.8.1 sometimes crashes: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60436 Another reason is that preprocessing assembly files unnecessarily slows down compilation.
-
cactus authored
-