Some forall-related cleanup in deriving code

Authored by RyanGlScott on May 14 2019, 2:04 PM.

Description

Some forall-related cleanup in deriving code

  • Tweak the parser to allow deriving clauses to mention explicit foralls or kind signatures without gratuitous parentheses. (This fixes Trac #14332 as a consequence.)
  • Allow Haddock comments on deriving clauses with explicit foralls. This requires corresponding changes in Haddock.

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>May 23 2019, 9:43 PM
Parents
rGHC59f4cb6fb73a: Add a `NOINLINE` pragma on `someNatVal` (#16586)
Branches
Unknown
Tags
Unknown
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC6eedbd83a19c: Some forall-related cleanup in deriving code (authored by RyanGlScott).May 23 2019, 9:43 PM