1. 20 Nov, 2014 1 commit
  2. 04 Nov, 2014 1 commit
  3. 28 Sep, 2014 1 commit
  4. 26 Sep, 2014 1 commit
  5. 09 Sep, 2014 1 commit
    • Austin Seipp's avatar
      Make Applicative a superclass of Monad · d94de872
      Austin Seipp authored
      
      
      Summary:
      This includes pretty much all the changes needed to make `Applicative`
      a superclass of `Monad` finally. There's mostly reshuffling in the
      interests of avoid orphans and boot files, but luckily we can resolve
      all of them, pretty much. The only catch was that
      Alternative/MonadPlus also had to go into Prelude to avoid this.
      
      As a result, we must update the hsc2hs and haddock submodules.
      Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
      
      Test Plan: Build things, they might not explode horribly.
      
      Reviewers: hvr, simonmar
      
      Subscribers: simonmar
      
      Differential Revision: https://phabricator.haskell.org/D13
      d94de872
  6. 01 Sep, 2014 1 commit
    • thomie's avatar
      StringBuffer should not contain initial byte-order mark (BOM) · 9e939403
      thomie authored
      Summary:
      Just skipping over a BOM, but leaving it in the Stringbuffer, is not
      sufficient. The Lexer calls prevChar when a regular expression starts
      with '^' (which is a shorthand for '\n^'). It would never match on the
      first line, since instead of '\n', prevChar would still return '\xfeff'.
      
      Test Plan: validate
      
      Reviewers: austin, ezyang
      
      Reviewed By: austin, ezyang
      
      Subscribers: simonmar, ezyang, carter
      
      Differential Revision: https://phabricator.haskell.org/D176
      
      GHC Trac Issues: #6016
      9e939403
  7. 15 Jul, 2014 1 commit
    • Simon Peyton Jones's avatar
      Entirely re-jig the handling of default type-family instances (fixes Trac #9063) · 9b8ba629
      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.
      9b8ba629
  8. 27 Jun, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Add -XBinaryLiterals language extension (re #9224) · 1c0b5fdc
      Herbert Valerio Riedel authored
      
      
      Haskell2010 supports
      
      - base-10 (prefix-less),
      - base-8 (via `0[oO]`-prefix), and
      - base-16 (via `0[xX]`-prefix) integer literals.
      
      This commit adds syntax support for base-2 integer literals via the new `0[bB]`
      prefix. The use of a `0b` prefix for indicating binary literals is known
      from popular programming languages such as C++14, Perl, Python, Ruby, and Java.
      
      This syntax extension is disabled by default and can be enabled via the
      new `{-# LANGUAGE BinaryLiterals #-}` pragma and/or the new `-XBinaryLiterals`
      
      This new extensions requires to upgrade the `ExtsBitmap` type from
      `Word` to `Word64` as this adds a 33th flag which is not guaranteed to
      fit into a `Word`.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      
      Differential Revision: https://phabricator.haskell.org/D22
      1c0b5fdc
  9. 07 Apr, 2014 1 commit
    • Simon Peyton Jones's avatar
      Derive Typable for promoted data constructors (Trac #8950) · 54e65553
      Simon Peyton Jones authored
      I got sucked into a significant refactoring of the way that
      Typeable instances are derived.  This makes it simpler and
      more uniform.
      
      I also improved the documentation in the user manual.  Typeable
      really is different to other classes, and now gets its own subsection.
      54e65553
  10. 25 Feb, 2014 1 commit
  11. 20 Feb, 2014 1 commit
  12. 13 Feb, 2014 1 commit
  13. 05 Dec, 2013 2 commits
  14. 17 Nov, 2013 1 commit
  15. 06 Nov, 2013 3 commits
  16. 12 Oct, 2013 2 commits
  17. 11 Oct, 2013 1 commit
  18. 01 Oct, 2013 1 commit
  19. 18 Sep, 2013 2 commits
  20. 14 Sep, 2013 1 commit
  21. 10 Sep, 2013 1 commit
    • Simon Peyton Jones's avatar
      Error message wibbles · 9ca4a73d
      Simon Peyton Jones authored
      Almost all are re-orderings of relevant-binding output
      
             Relevant bindings include
        +      m :: Map (a, b) elt (bound at T3169.hs:12:17)
        +      b :: b (bound at T3169.hs:12:13)
               lookup :: (a, b) -> Map (a, b) elt -> Maybe elt
                 (bound at T3169.hs:12:3)
        -      b :: b (bound at T3169.hs:12:13)
        -      m :: Map (a, b) elt (bound at T3169.hs:12:17)
      9ca4a73d
  22. 19 Aug, 2013 1 commit
  23. 19 May, 2013 1 commit
  24. 21 Apr, 2013 1 commit
  25. 15 Apr, 2013 1 commit
  26. 18 Mar, 2013 1 commit
  27. 26 Feb, 2013 1 commit
  28. 24 Feb, 2013 1 commit
  29. 23 Feb, 2013 1 commit
  30. 11 Feb, 2013 1 commit
  31. 01 Feb, 2013 2 commits
  32. 25 Jan, 2013 1 commit
  33. 08 Dec, 2012 1 commit
  34. 21 Sep, 2012 1 commit