Add 'Lift' instances for 'NonEmpty' and 'Void'
authorAlec Theriault <alec.theriault@gmail.com>
Fri, 30 Nov 2018 14:18:10 +0000 (09:18 -0500)
committerRyan Scott <ryan.gl.scott@gmail.com>
Fri, 30 Nov 2018 14:46:42 +0000 (09:46 -0500)
commit47875bd4d79ca633b589e63e320aa5a5c631d096
treec479990fbf227d2c3daca51a0ff4725145d1e934
parent80d665a123305721c58a3d7652c64e2b3c69b70e
Add 'Lift' instances for 'NonEmpty' and 'Void'

Summary:
Since 'NonEmpty' and 'Void' are now part of 'base', it makes
sense that we put 'Lift' instances for them in 'template-haskell'.
Not doing so is going to force users to define their own (possibly
colliding) orphan instances downstream.

Test Plan: ./validate

Reviewers: goldfire, bgamari, RyanGlScott

Reviewed By: RyanGlScott

Subscribers: RyanGlScott, rwbarton, carter

GHC Trac Issues: #15961

Differential Revision: https://phabricator.haskell.org/D5391
libraries/template-haskell/Language/Haskell/TH/Syntax.hs
libraries/template-haskell/changelog.md
testsuite/tests/quotes/TH_localname.stderr
testsuite/tests/th/TH_Lift.hs