[GHC] #8560: undeducable Typeable error with data kinds when deriving Data for GADT in GHC version 7.7.20131122
GHC
ghc-devs at haskell.org
Sat Nov 23 23:42:23 UTC 2013
#8560: undeducable Typeable error with data kinds when deriving Data for GADT in
GHC version 7.7.20131122
-------------------------------------+------------------------------------
Reporter: carter | Owner:
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 carter):
the key bit is that however I add typeable info for the datakind level
variant of Nat, i get
{{{
test.hs:33:1:
No instance for (Typeable n)
arising from the superclasses of an instance declaration
In the instance declaration for ‛Data (Shape ('S n) a)’
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8560#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list