1. 16 Jul, 2015 1 commit
  2. 07 Apr, 2015 1 commit
  3. 03 Mar, 2015 1 commit
    • Oleg Grenrus's avatar
      Add various instances to newtypes in Data.Monoid · 4e6bcc2c
      Oleg Grenrus authored
      Summary:
      Add Functor instances for Dual, Sum and Product
      Add Foldable instances for Dual, Sum and Product
      Add Traversable instances for Dual, Sum and Product
      Add Foldable and Traversable instances for First and Last
      Add Applicative, Monad instances to Dual, Sum, Product
      Add MonadFix to Data.Monoid wrappers
      Derive Data for Identity
      Add Data instances to Data.Monoid wrappers
      Add Data (Alt f a) instance
      
      Reviewers: ekmett, dfeuer, hvr, austin
      
      Reviewed By: dfeuer, austin
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D673
      
      GHC Trac Issues: #10107
      4e6bcc2c
  4. 30 Nov, 2014 1 commit
    • Edward Z. Yang's avatar
      Filter instance visibility based on set of visible orphans, fixes #2182. · 4c834fdd
      Edward Z. Yang authored
      
      
      Summary:
      Amazingly, the fix for this very old bug is quite simple: when type-checking,
      maintain a set of "visible orphan modules" based on the orphans list of
      modules which we explicitly imported.  When we import an instance and it
      is an orphan, we check if it is in the visible modules set, and if not,
      ignore it.  A little bit of refactoring for when orphan-hood is calculated
      happens so that we always know if an instance is an orphan or not.
      
      For GHCi, we preinitialize the visible modules set based on the list of
      interactive imports which are active.
      
      Future work: Cache the visible orphan modules set for GHCi, rather than
      recomputing it every type-checking round.  (But it's tricky what to do when you
      /remove/ a module: you need a data structure a little more complicated than
      just a set of modules.)
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      
      Test Plan: new tests and validate
      
      Reviewers: simonpj, austin
      
      Subscribers: thomie, carter
      
      Differential Revision: https://phabricator.haskell.org/D488
      
      GHC Trac Issues: #2182
      4c834fdd
  5. 19 Nov, 2014 1 commit
  6. 28 Aug, 2014 1 commit
  7. 20 Apr, 2014 1 commit
  8. 25 Feb, 2014 1 commit
  9. 12 Sep, 2013 1 commit
  10. 24 Feb, 2013 1 commit
  11. 14 Feb, 2013 1 commit
  12. 21 Sep, 2012 1 commit
  13. 21 Jun, 2012 1 commit
  14. 21 May, 2012 1 commit
  15. 09 Mar, 2012 1 commit
  16. 12 Jan, 2012 1 commit
  17. 21 Sep, 2011 1 commit
  18. 20 Jul, 2011 1 commit
  19. 09 Sep, 2010 1 commit
  20. 28 Nov, 2009 1 commit
  21. 08 May, 2007 1 commit
  22. 03 May, 2007 1 commit