SYB generics and Monad vs Applicative

José Pedro Magalhães jpm at
Tue Jan 10 07:34:40 CET 2012

Hi Conal,

On Mon, Jan 9, 2012 at 21:41, Conal Elliott <conal at> wrote:

> I've been learning to the SYB generics functionality in Data.Data and the
> syb package. I find myself wondering whether the use of Monad and MonadPlus
> could be generalized to Applicative and Alternative. My first experiments
> suggest that they can be and that some of the code can be greatly
> simplified.
> Has this question already been explored?

Not as far as I know. Do you have some code you can share?


> -- Conal
> _______________________________________________
> Libraries mailing list
> Libraries at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list