1. 16 Sep, 2013 1 commit
  2. 15 Sep, 2013 1 commit
  3. 14 Sep, 2013 1 commit
  4. 13 Sep, 2013 1 commit
  5. 12 Sep, 2013 1 commit
    • Austin Seipp's avatar
      Implement the AMP warning (#8004) · 75a9664a
      Austin Seipp authored
      
      
      This patch implements a warning when definitions conflict with the
      Applicative-Monad Proposal (AMP), described in #8004. Namely, this will
      cause a warning iff:
      
          * You have an instance of Monad, but not Applicative
          * You have an instance of MonadPlus, but not Alternative
          * You locally defined a function named join, <*>, or pure.
      
      In GHC 7.10, these warnings will actually be enforced with superclass
      constraints through changes in base, so programs will fail to compile
      then.
      
      This warning is enabled by default. Unfortunately, not all of
      our upstream libraries have accepted the appropriate patches. So we
      temporarily fix ./validate by ignoring the AMP warning.
      
      Dan Rosén made an initial implementation of this change, and the
      remaining work was finished off by David Luposchainsky. I finally made
      some minor refactorings.
      Authored-by: danr's avatarDan Rosén <danr@chalmers.se>
      Authored-by: quchen's avatarDavid Luposchainsky <dluposchainsky@gmail.com>
      Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
      75a9664a
  6. 10 Sep, 2013 3 commits
  7. 09 Sep, 2013 1 commit
  8. 08 Sep, 2013 2 commits
  9. 05 Sep, 2013 1 commit
  10. 30 Aug, 2013 3 commits
  11. 29 Aug, 2013 8 commits
  12. 27 Aug, 2013 1 commit
  13. 22 Aug, 2013 1 commit
  14. 20 Aug, 2013 1 commit
  15. 14 Aug, 2013 1 commit
    • Jan Stolarek's avatar
      Comparison primops return Int# (Fixes #6135) · 6579a6c7
      Jan Stolarek authored
      This patch modifies all comparison primops for Char#, Int#, Word#, Double#,
      Float# and Addr# to return Int# instead of Bool. A value of 1# represents True
      and 0# represents False. For a more detailed description of motivation for this
      change, discussion of implementation details and benchmarking results please
      visit the wiki page: http://hackage.haskell.org/trac/ghc/wiki/PrimBool
      
      There's also some cleanup: whitespace fixes in files that were extensively edited
      in this patch and constant folding rules for Integer div and mod operators (which
      for some reason have been left out up till now).
      6579a6c7
  16. 11 Aug, 2013 2 commits
  17. 26 Jul, 2013 1 commit
  18. 17 Jul, 2013 1 commit
  19. 10 Jul, 2013 1 commit
  20. 20 Jun, 2013 2 commits
  21. 17 Jun, 2013 1 commit
  22. 09 Jun, 2013 1 commit
  23. 07 Feb, 2013 1 commit