
31 Aug
2007
31 Aug
'07
7:03 a.m.
Neil Mitchell a écrit :
Use Derive, which does support Generics: http://www-users.cs.york.ac.uk/~ndm/derive/
If you care about portability, and are not using some of the more advanced features of Generics, then you might want to take a look at Uniplate: http://www-users.cs.york.ac.uk/~ndm/uniplate/
Uniplate does generic traversals, but will work on all Haskell 98 compilers, to some degree - read the paper for exact details.
Thanks
Neil
Thanks for these links. I will check the tool, but they seem to fit perfectly for my purposes. Fernand