#12047: Users Guide: GeneralizedNewtypeDeriving derives “instance Num Int => Num Dollars” -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: task | Status: patch Priority: normal | Milestone: Component: Documentation | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2273 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ryan Scott <ryan.gl.scott@…>): In [changeset:"d0dd572b707631a104e060711faf9bd169bdc968/ghc" d0dd572b/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="d0dd572b707631a104e060711faf9bd169bdc968" Clarify users' guide section on GeneralizedNewtypeDeriving Summary: It seemed to imply that GHC was generating infelicitous code when it actually wasn't. Fixes #12047. Reviewers: hvr, bgamari, austin Reviewed By: austin Subscribers: thomie, Iceland_jack Differential Revision: https://phabricator.haskell.org/D2273 GHC Trac Issues: #12047 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12047#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler