[GHC] #13175: Documenting what can be derived 'out of the box' by GHC's "deriving"

GHC ghc-devs at haskell.org
Tue Oct 17 22:40:11 UTC 2017


#13175: Documenting what can be derived 'out of the box' by GHC's "deriving"
-------------------------------------+-------------------------------------
        Reporter:  carette           |                Owner:  (none)
            Type:  task              |               Status:  closed
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Documentation     |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:  newcomer,
                                     |  deriving
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Documentation     |  Unknown/Multiple
  bug                                |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:   => 8.4.1


Comment:

 I believe this can be considered fixed as of
 317aa966b3d89e45227a5870feba339e34d77a18. The
 [http://git.haskell.org/ghc.git/blob/317aa966b3d89e45227a5870feba339e34d77a18:/docs/users_guide/glasgow_exts.rst#l3646
 beginning of the users' guide section] on GHC's extensions to `deriving`
 now mentions:

 {{{
 * In Haskell 98, the only derivable classes are ``Eq``,
   ``Ord``, ``Enum``, ``Ix``, ``Bounded``, ``Read``, and ``Show``. `Various
   langauge extensions <#deriving-extra>`__ extend this list.
 }}}

 The `deriving-extra` section then proceeds to mention each of the
 remaining classes that are stock derivable.

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


More information about the ghc-tickets mailing list