Implement deriving strategies

Authored by RyanGlScott on Aug 27 2016, 1:00 PM.

Description

Implement deriving strategies

Summary:
Allows users to explicitly request which approach to deriving to use via
keywords, e.g.,

newtype Foo = Foo Bar
  deriving Eq
  deriving builtin Ord
  deriving newtype Show

Fixes Trac #10598.

Test Plan: ./validate

Reviewers: hvr, kosmikus, goldfire, bgamari, simonpj, alanz, austin, erikd, simonmar

Reviewed By: simonpj, alanz

Subscribers: thomie, mpickering, oerjan

Differential Revision: https://phabricator.haskell.org/D2280

GHC Trac Issues: Trac #10598

Details

Committed
RyanGlScottAug 27 2016, 1:00 PM
Reviewer
simonpj
Differential Revision
D2280: Implement deriving strategies
Parents
rGHCfaaf31398110: WwLib: Add strictness signature to "let x = absentError …"
Branches
Unknown
Tags
Unknown