[GHC] #14357: Document deriving strategies fully

GHC ghc-devs at haskell.org
Mon Oct 16 19:35:00 UTC 2017


#14357: Document deriving strategies fully
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Documentation     |              Version:  8.2.1
      Resolution:                    |             Keywords:  deriving
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nomeata):

 Yes, maybe that’d be sufficient. I think I’d also like to know which stock
 instances are derived as such for newtypes, and which are derived by using
 the newtype strategy, but I guess that information can also be found (“C
 is not Read, Show, Typeable, or Data. These classes should not “look
 through” the type or its constructor. You can still derive these classes
 for a newtype, but it happens in the usual way, not via this new
 mechanism.”).

 So maybe, all the information is already present in the manual, in which
 case the reference to the wiki can be removed?

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


More information about the ghc-tickets mailing list