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

Ralf.Laemmel at cwi.nl Ralf.Laemmel at cwi.nl
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.

Ralf


> 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 haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users





More information about the Glasgow-haskell-users mailing list