1. 20 Nov, 2014 1 commit
  2. 28 Sep, 2014 1 commit
  3. 26 Sep, 2014 1 commit
  4. 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
  5. 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
  6. 25 Feb, 2014 1 commit
  7. 05 Dec, 2013 2 commits
  8. 17 Nov, 2013 1 commit
  9. 06 Nov, 2013 3 commits
  10. 12 Oct, 2013 2 commits
  11. 11 Oct, 2013 1 commit
  12. 14 Sep, 2013 1 commit
  13. 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
  14. 19 Aug, 2013 1 commit
  15. 19 May, 2013 1 commit
  16. 21 Apr, 2013 1 commit
  17. 15 Apr, 2013 1 commit
  18. 24 Feb, 2013 1 commit
  19. 11 Feb, 2013 1 commit
  20. 01 Feb, 2013 2 commits
  21. 21 Sep, 2012 1 commit
  22. 16 Jul, 2012 2 commits
  23. 29 Jun, 2012 1 commit
  24. 04 Apr, 2012 1 commit
  25. 26 Mar, 2012 1 commit
  26. 02 Mar, 2012 1 commit
  27. 16 Jan, 2012 1 commit
  28. 04 Jan, 2012 1 commit
  29. 17 Nov, 2011 1 commit
  30. 16 Nov, 2011 1 commit
  31. 10 Oct, 2011 1 commit
  32. 29 Sep, 2011 1 commit
  33. 27 Sep, 2011 1 commit
  34. 01 Sep, 2011 1 commit