Generics... no Tuples > 2 either...

Ralf.Laemmel at Ralf.Laemmel at
Tue Mar 2 23:59:06 EST 2004

SimonPJ and I have just (hopefully) finished a revision of Data.
Just committed.
In this course, we also have added instances for several things
including Ptr etc. As you propose, Ptr values are not traversed
and fromConstr and toConstr will be undefined.


> with reference to Ptr, I only need an instance of Data for the
> Ptr () case (ie opaque pointers) ... so for generics it only needs to
> know that a Ptr is a Ptr, and to treat it like a value.
> 	Regards,
> 	Keean Schupke.
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at

More information about the Glasgow-haskell-users mailing list