Conditions on deriving Typeable

11 Jun
2003
11 Jun
'03
8:07 a.m.
Please satisfy my curiosity, what is it about data WrappedDisplayType = forall displayType . DisplayType displayType => WrappedDisplayType displayType deriving (Typeable) that causes GHC 6.0 to utter DisplayTypes.hs:135: Can't make a derived instance of `Typeable WrappedDisplayType' (`WrappedDisplayType' has existentially-quantified constructor(s)) When deriving instances for type `WrappedDisplayType' Obviously it doesn't like the existential quantifier, but why should that be a problem for Typeable?
8017
Age (days ago)
8017
Last active (days ago)
0 comments
1 participants
participants (1)
-
George Russell