Skip to content
  • Ryan Scott's avatar
    Add more type class instances for GHC.Generics · 673efccb
    Ryan Scott authored
    GHC.Generics provides several representation data types that have
    obvious instances of various type classes in base, along with various
    other types of meta-data (such as associativity and fixity).
    Specifically, instances have been added for the following type classes
    (where possible):
    
        - Applicative
        - Data
        - Functor
        - Monad
        - MonadFix
        - MonadPlus
        - MonadZip
        - Foldable
        - Traversable
        - Enum
        - Bounded
        - Ix
        - Generic1
    
    Thanks to ocharles for starting this!
    
    Test Plan: Validate
    
    Reviewers: ekmett, austin, hvr, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: RyanGlScott, thomie
    
    Differential Revision: https://phabricator.haskell.org/D1937
    
    GHC Trac Issues: #9043
    673efccb