[GHC] #15961: TH 'Lift' instance for 'NonEmpty'

GHC ghc-devs at haskell.org
Fri Nov 30 14:47:41 UTC 2018


#15961: TH 'Lift' instance for 'NonEmpty'
-------------------------------------+-------------------------------------
        Reporter:  fr33domlover      |                Owner:  (none)
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.3
       Component:  Template Haskell  |              Version:  8.6.2
      Resolution:                    |             Keywords:  lift,
                                     |  instance, nonempty
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D5391
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ryan Scott <ryan.gl.scott@…>):

 In [changeset:"47875bd4d79ca633b589e63e320aa5a5c631d096/ghc"
 47875bd4/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="47875bd4d79ca633b589e63e320aa5a5c631d096"
 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
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15961#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list