SYB generics and Monad vs Applicative

Conal Elliott conal at
Mon Jan 9 21:41:58 CET 2012

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

Has this question already been explored?

-- Conal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list