Hello Paul,

On Fri, Dec 18, 2009 at 16:47, Paul Keir <[email protected]> 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
> AST
> 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.


Cheers,
Pedro
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to