SYB generics and Monad vs Applicative

Conal Elliott conal at conal.net
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
simplified.

Has this question already been explored?

-- Conal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20120109/06c212d4/attachment.htm>


More information about the Libraries mailing list