There's a Monoid that matches what the Applicative for ZipList does that seems to be missing.instance Monoid a => Monoid (ZipList a) wheremempty = pure memptymappend = liftA2 mappendIt's been brought up before:Not only is it useful when it's the Monoid you want, but it serves an educational purpose for highlighting the relationship between Monoid and Applicative as well.Are there any good reasons not to have it?I'd like to limit discussion to two weeks.
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries