[GHC] #5462: Deriving clause for arbitrary classes
GHC
cvs-ghc at haskell.org
Thu Sep 8 00:18:34 CEST 2011
#5462: Deriving clause for arbitrary classes
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.2.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonpj):
I hate the `{-# DERIVABLE C #-}` pragma though -- it's not really a pragma
at all (in the sense of affecting optimisation but not semantics or what
programs are typeable). But we need ''some'' way to say that class C is
one that can appear in a deriving clause. We can't allow just any old
class in a deriving clause!
Any other ideas?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5462#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list