<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">From: David Menendez &lt;<a href="mailto:dave@zednenem.com">dave@zednenem.com</a>&gt;<br>
Subject: Re: Functor =&gt; Pointed =&gt; Applicative =&gt; Monad<br>
To: Isaac Dupree &lt;<a href="mailto:ml@isaac.cedarswampstudios.org">ml@isaac.cedarswampstudios.org</a>&gt;<br>
Cc: <a href="mailto:libraries@haskell.org">libraries@haskell.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTinkqQXYTN6ATqGawbdeVvtfq_6z51sADN8i_O8P@mail.gmail.com">AANLkTinkqQXYTN6ATqGawbdeVvtfq_6z51sADN8i_O8P@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Mon, Nov 29, 2010 at 11:26 AM, Isaac Dupree<br>
&lt;<a href="mailto:ml@isaac.cedarswampstudios.org">ml@isaac.cedarswampstudios.org</a>&gt; wrote:<br>
&gt; On 11/29/10 03:39, John Smith wrote:<br>
&gt;&gt;<br>
&gt;&gt; Is there any intention to reorganise the standard class hierarchy,<br>
&gt;&gt; arranging them logically instead of in order of invention? I plagiarised<br>
&gt;&gt; the following example from<br>
&gt;&gt; <a href="http://stackoverflow.com/questions/1634911/can-liftm-differ-from-lifta" target="_blank">http://stackoverflow.com/questions/1634911/can-liftm-differ-from-lifta</a><br>
&gt;&gt; and Trac:<br>
&gt;&gt;<br>
&gt;&gt; class Functor f where<br>
&gt;&gt; map :: (a -&gt; b) -&gt; f a -&gt; f b<br>
&gt;&gt;<br>
&gt;&gt; class Functor f =&gt; Pointed f where<br>
&gt;&gt; pure :: a -&gt; f a<br>
&gt;<br>
&gt; Is it useful to have Pointed non-Functors?<br>
<br>
Is Pointed useful at all? The last time this discussion came up, I<br>
asked for algorithms which were generic over pointed functors (in the<br>
same way that traverse is generic over applicative functors) and no<br>
one could think of any.<br></blockquote><div><br></div><div>It&#39;s useful for &#39;singleton&#39; on probabilistic data structures (e.g. a Bloom filter).</div><div><br></div><div>John</div></div>