News for hackers. Stuff that matters.
Re:Haskell Is Exceptionally Unsafe (2012) by lumpypua on Monday October 20, 2014 @12:59AM (#8480758)
As an intermediate Haskeller I'm curious, what's the replacement for SYB? I've worked in haskell primarily on compiler-like tree tranformation code and SYB seems to fit the bill perfectly.
Re:Haskell Is Exceptionally Unsafe (2012) by coolsunglasses on Monday October 20, 2014 @01:44AM (#8480845)
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.

Re:Haskell Is Exceptionally Unsafe (2012) by lumpypua on Monday October 20, 2014 @03:27AM (#8481004)
Sick, thank you for the reply and pointer to uniplate and associated tools!
Re:Haskell Is Exceptionally Unsafe (2012) by ufo on Monday October 20, 2014 @12:38PM (#8483056)
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.
Re:Haskell Is Exceptionally Unsafe (2012) by ludamad on Monday October 20, 2014 @01:27AM (#8480803)
Re:Haskell Is Exceptionally Unsafe (2012) by tel on Monday October 20, 2014 @08:44AM (#8481795)
TH isn't really the same functionality as SYB.