
2 Jun
2004
2 Jun
'04
4:53 p.m.
newtype Y e = Y { unY :: (e (Y e)) } deriving(Data,Typeable,Show,Read,Eq) gives E.hs:64: Can't make a derived instance of `Typeable (Y e)' (`Y' is parameterised over arguments of kind other than `*') When deriving instances for type `Y' Is there any way around this limitation other than manually expanding Y everywhere I want to use it (which I really don't want to do)? Is the limitation inherent to the way Typeable works, or is it just that no one has implemented it yet? -- John Meacham - ⑆repetae.net⑆john⑈
7658
Age (days ago)
7658
Last active (days ago)
0 comments
1 participants
participants (1)
-
John Meacham