1. 17 Feb, 2016 10 commits
  2. 16 Feb, 2016 11 commits
  3. 15 Feb, 2016 9 commits
  4. 14 Feb, 2016 2 commits
  5. 12 Feb, 2016 8 commits
    • Sergei Trofimovich's avatar
      testsuite: tweak error messages for new Show instance · f37bb548
      Sergei Trofimovich authored
       added Show
      instance for Callstack.
      That made a couple of error messages to drift as:
                   instance Show Ordering -- Defined in ‘GHC.Show’
                   instance Show Integer -- Defined in ‘GHC.Show’
                   ...plus 23 others
          -        ...plus 20 instances involving out-of-scope types
          +        ...plus 21 instances involving out-of-scope types
      Signed-off-by: default avatarSergei Trofimovich <siarheit@google.com>
    • Simon Peyton Jones's avatar
      User manual improvments · 6cf9b06f
      Simon Peyton Jones authored
      - Document that you can use 'forall' in instance decls
      - Change the sections a bit, so that big sections (like
        lexically scoped type variables, pattern synonyms,
        implicit parameters) become more visible
    • Simon Peyton Jones's avatar
      Minor refactoring to tauifyMultipleMatches · 24305bea
      Simon Peyton Jones authored
      No change in behaviour
    • Simon Peyton Jones's avatar
      Improve pretty-printing of HsWrappers · d0846243
      Simon Peyton Jones authored
      Reduces un-neede parens.
      Also -fprint-typechecker-elaboration now makes type applications
      and casts in expressions also appear.  (Previously those were
      confusingly controlled by -fprint-explicit-coercions.)
    • Simon Peyton Jones's avatar
      Beef up tc124 · 12515187
      Simon Peyton Jones authored
      Makes it a slightly more stringent test of record pattern bindings
    • Simon Peyton Jones's avatar
      Simplify AbsBinds wrapping · c6485d5e
      Simon Peyton Jones authored
      In poking Trac #11414 I found myself sinking into the abe_inst_wrap
      swamp.  What is this strange thing?  (It turned out that #11414 was
      breaking because of it.)
      Thrillingly, I found a way to sweep it away again, putting the deep
      instantation into tcMonoBinds instead of mkExport; and it turned out
      that the fun_co_fn field of FunBind was already there ready to receive
      exactly this wrapper. Hooray.  Result
      * Death to abe_inst_wrap
      * Death to mbi_orig
      * Death to the plumbing in tcPolyInfer that did the
        deep instantiation
      I did find that I had to re-engineer the treatment of instance type
      signatures (again), but the result looks more modular and robust to
      And #11414 is fixed.
    • niteria's avatar
      Revert "Build the substitution correctly in piResultTy" · f3b9db31
      niteria authored
      This reverts commit dbf72dbc.
      This commit introduced performance regressions:
      I will push it again after I fix it.
      Test Plan: revert
      Reviewers: simonpj, bgamari, simonmar, austin, goldfire, thomie
      Differential Revision: https://phabricator.haskell.org/D1907
    • Ryan Scott's avatar
      Add IsList instance for CallStack, restore Show instance for CallStack · be3d7f66
      Ryan Scott authored
      Ties up loose ends from D1894.
      GHC 7.10.2 and 7.10.3 featured a `Show` instance for `CallStack`, but since it
      was derived, it broke encapsulation. This adds a `Show` instance which displays
      the `CallStack` as if it were a `[(String, SrcLoc)]`.
      To ensure that the output of `Show` is technically a valid Haskell term, we
      also add a corresponding `IsList CallStack` instance.
      Reviewers: gridaphobe, austin, hvr, bgamari
      Reviewed By: gridaphobe, bgamari
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D1903