1. 02 Oct, 2015 3 commits
    • Joachim Breitner's avatar
      Update nofib submodule again · a52db231
      Joachim Breitner authored
      reverting my bogus commit there.
    • Joachim Breitner's avatar
      Update nofib submodule · f2a174ae
      Joachim Breitner authored
      to contain these commits:
         commit 8bffe3cb01ce404ab493de2b4316f2c1c4a9bda9
         Author: Joachim Breitner <mail@joachim-breitner.de>
         Date:   Fri Oct 2 10:09:17 2015 +0200
             Expected output of mandel when run under valgrind
             probably due to rounding/floating point precision numbers. It looks
             broken, but so does the existing file spectral/mandel/mandel.stdout-mingw.
         commit f9a577973edf6976e4c0703bf2afac900d7b6fd8
         Author: Gabor Greif <ggreif@gmail.com>
         Date:   Fri Jul 31 00:43:38 2015 +0200
             Typos in comments
         commit 20ae9113ad31eca426883544f597a3cae9b60d94
         Author: Simon Peyton Jones <simonpj@microsoft.com>
         Date:   Fri Apr 24 15:10:02 2015 +0100
             Add exact-real-arithmetic benchmark from David Lester
    • Herbert Valerio Riedel's avatar
      Add Data.Semigroup and Data.List.NonEmpty (re #10365) · 03b38042
      Herbert Valerio Riedel authored
      This implements phase 1 of the semigroup-as-monoid-superclass
      proposal (https://ghc.haskell.org/wiki/Proposal/SemigroupMonoid).
      The modules were migrated from the `semigroups-0.17` release mostly
      as-is, except for dropping several trivial `{-# INLINE #-}`s,
      removing CPP usage, and instances for types & classes provided
      outside of `base` (e.g. `containers`, `deepseq`, `hashable`, `tagged`,
      `bytestring`, `text`)
      Differential Revision: https://phabricator.haskell.org/D1284
  2. 01 Oct, 2015 1 commit
  3. 30 Sep, 2015 2 commits
  4. 28 Sep, 2015 1 commit
    • Joachim Breitner's avatar
      Allow enumDeltaIntegerFB to be inlined · 78053f44
      Joachim Breitner authored
      The function is very small and the compiler should be at liberty to
      inline it. But it is recursive, so it did not do it before. By applying
      the usual transformation with a local recursive function, GHC can now
      inline it, producing the loop that one would expect.
  5. 26 Sep, 2015 2 commits
    • Ömer Sinan Ağacan's avatar
      reify associated types when reifying typeclasses(#10891) · b4d43b4e
      Ömer Sinan Ağacan authored
      As reported in Trac #10891, Template Haskell's `reify` was not
      generating Decls for associated types. This patch fixes that.
      Note that even though `reifyTyCon` function used in this patch returns
      some type instances, I'm ignoring that.
      Here's an example of how associated types are encoded with this patch:
      (Simplified representation)
          class C a where
            type F a :: *
          OpenTypeFamilyD "F" ["a"]
      With default type instances:
          class C a where
            type F a :: *
            type F a = a
          OpenTypeFamilyD "F" ["a"]
          TySynInstD "F" (TySynEqn [VarT "a"] "a")
      Test Plan:
      This patch was already reviewed and even merged. The patch is later
      reverted because apparently it broke the build some time between the
      validation of this patch and merge. Creating this new ticket to fix the
      Reviewers: goldfire, austin, bgamari
      Reviewed By: bgamari
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D1277
      GHC Trac Issues: #10891
    • Ben Gamari's avatar
      rts: Clean up whitespace in Trace.h · 988b2baa
      Ben Gamari authored
  6. 25 Sep, 2015 5 commits
  7. 24 Sep, 2015 5 commits
  8. 23 Sep, 2015 9 commits
  9. 22 Sep, 2015 4 commits
    • Ben Gamari's avatar
      HscMain: Place CPP macro invocation on one line · 4cdab73f
      Ben Gamari authored
      Clang's CPP implementation seems to barf otherwise
    • Ryan Scott's avatar
      DeriveLift extension (#1830) · 089b72f5
      Ryan Scott authored
      This implements -XDeriveLift, which allows for automatic derivation
      of the Lift class from template-haskell. The implementation is based
      off of Ian Lynagh's th-lift library
      Test Plan: ./validate
      Reviewers: hvr, simonpj, bgamari, goldfire, austin
      Reviewed By: goldfire, austin
      Subscribers: osa1, thomie
      Differential Revision: https://phabricator.haskell.org/D1168
      GHC Trac Issues: #1830
    • niteria's avatar
      Make derived names deterministic · d4d34a73
      niteria authored
      The names of auxiliary bindings end up in the interface file, and since uniques
      are nondeterministic, we end up with nondeterministic interface files.
      This uses the package and module name in the generated name, so I believe it
      should avoid problems from #7947 and be deterministic as well.
      The generated names look like this now:
      and with `-ppr-debug`:
      Reviewed By: simonmar, austin, ezyang
      Differential Revision: https://phabricator.haskell.org/D1133
      GHC Trac Issues: #4012
    • Eric Seidel's avatar
      base: use Show for ErrorCall in uncaughtExceptionHandler · 0b852fcf
      Eric Seidel authored
      The default top-level exception handler now uses the `Show` instance for
      `ErrorCall` when printing exceptions, so it will actually print the out-of-band
      data (e.g. `CallStack`s) in compiled binaries, instead of just printing the
      error message.
      This also updates the hpc submodule to fix the test output.
      Reviewed By: austin, thomie
      Differential Revision: https://phabricator.haskell.org/D1217
  10. 21 Sep, 2015 8 commits