Re: [GHC] #14070: Allow ‘unsafe’ deriving strategy, deriving code with ‘unsafeCoerce’
GHC
ghc-devs at haskell.org
Tue Aug 1 03:40:27 UTC 2017
#14070: Allow ‘unsafe’ deriving strategy, deriving code with ‘unsafeCoerce’
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
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 RyanGlScott):
I will admit that the devil on my shoulder is trying to coax me into
implementing this idea. But at the same time, the angel on my other
shoulder is saying I should wait until we have `QuantifiedContexts`, which
would give us a principled solution to this problem.
I'm unable to pick a side at the moment, so I'll simply wait until I've
heard more feedback.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14070#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list