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 > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users