Nope,<br>Other than possibly adding library clutter.<br><br>I have a package that provides many instances and common functions for ZipLists. Eventually I might stick it on hackage, but currently it&#39;s here: <a href="http://github.com/jvranish/ZipList">http://github.com/jvranish/ZipList</a><br>
<br>I really with there was a way to switch Applicative (or other) instances for list (or other) types.<br>Then we wouldn&#39;t have this problem.<br><br>- Job<br><br><br><div class="gmail_quote">On Fri, Oct 16, 2009 at 5:52 AM, Vladimir Reshetnikov <span dir="ltr">&lt;<a href="mailto:v.reshetnikov@gmail.com">v.reshetnikov@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I find the following instance very convenient:<div><br></div><div>------------------------------------------------------------------------</div>
<div>import Data.Monoid</div>import Control.Applicative<div><br></div><div><div>

<div>instance Monoid a =&gt; Monoid (ZipList a) where</div><div>  mempty = pure mempty</div><div>  mappend = liftA2 mappend</div><div>------------------------------------------------------------------------</div><div><br>


</div><div>Any reason why it is not in the standard library?</div><div><br></div><div>Thanks,</div><div>Vladimir</div></div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br>