[Haskell-cafe] Largest types in SYB

José Pedro Magalhães jpm at cs.uu.nl
Mon Dec 21 09:16:04 EST 2009

Hello Paul,

On Fri, Dec 18, 2009 at 16:47, Paul Keir <pkeir at dcs.gla.ac.uk> wrote:

> (...)
> I'm enjoying using SYB, and had hoped to use only functions from the
> package,
> but couldn't find a way; and this does the job for now. I've also seen that
> there are many other approaches to generic programming than SYB (even for
> transformations in particular) but I wanted to understand SYB first. I'm
> interested to know if anyone has a more elegant SYB solution.

I think this looks fine. The package only provides basic generic
functionality, but when you need something more specific you can use the
basics to write your own generic functions, which is what you did.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091221/cd6eae25/attachment-0001.html

More information about the Haskell-Cafe mailing list