• Ryan Scott's avatar
    Implement deriving strategies · 9e862765
    Ryan Scott authored
    Allows users to explicitly request which approach to `deriving` to use
    via keywords, e.g.,
    
    ```
    newtype Foo = Foo Bar
      deriving Eq
      deriving stock    Ord
      deriving newtype Show
    ```
    
    Fixes #10598. Updates haddock submodule.
    
    Test Plan: ./validate
    
    Reviewers: hvr, kosmikus, goldfire, alanz, bgamari, simonpj, austin,
    erikd, simonmar
    
    Reviewed By: alanz, bgamari, simonpj
    
    Subscribers: thomie, mpickering, oerjan
    
    Differential Revision: https://phabricator.haskell.org/D2280
    
    GHC Trac Issues: #10598
    9e862765
all.T 17.7 KB