Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The direct equivalent and replacement is GHC http://www.haskell.org/haskellwiki/Generics.

Edit: I just wanted to add that if you do compiler-like tree transformation code it behooves you to explore uniplate/multiplate/plated.



Sick, thank you for the reply and pointer to uniplate and associated tools!


IIRC, the thing about Uniplate is that the API makes it easy to build traversal functions like "get a list of all X nodes in this tree" while SYB provides some folding operators that are a bit harder to work with.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: