[GHC] #8503: New GeneralizedNewtypeDeriving check still isn't permissive enough
GHC
ghc-devs at haskell.org
Tue Nov 19 08:28:34 UTC 2013
#8503: New GeneralizedNewtypeDeriving check still isn't permissive enough
-------------------------------------+------------------------------------
Reporter: goldfire | Owner: goldfire
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by nomeata):
> (Actually, in fact I fear that we may instead construct a recursive
dictionary instead, which we probably do not want for newtypes, though we
do for data types, because we'll see a constraint we have already solved.
See Scrap your boilerplate with class for why we want recursive
dictionaries.)
JFTR: Last time I checked, we did, leading to a non-terminating Coercion
value.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8503#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list