<div dir="ltr"><div>It's possible I got confused by GHC.Base, which defines<br><br>bindIO :: IO a -> (a -> IO b) -> IO b<br><br></div>If that's backwards, then go right ahead and use bind to mean (=<<).<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 9, 2014 at 6:17 PM, Gabriel Gonzalez <span dir="ltr"><<a href="mailto:gabriel439@gmail.com" target="_blank">gabriel439@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
My understanding was that bind historically referred to
`(=<<)`, not `(>>=)`<br>
<br>
Either way I am (+1) on this, even if my previous sentence is false.<div><div class="h5"><br>
<br>
<div>On 12/9/14, 1:55 PM, David Feuer wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<p dir="ltr">On Dec 9, 2014 4:44 PM, "Christopher Done" <<a href="mailto:chrisdone@gmail.com" target="_blank">chrisdone@gmail.com</a>>
wrote:<br>
> The name for this function is a no-brainer:<br>
><br>
> bind :: Monad m => (a -> m b) -> m a -> m b<br>
> bind = (=<<)</p>
<p dir="ltr">Since most people use the term "bind" to refer to the
>>= operator, this would be very confusing.</p>
<p dir="ltr">> For comparison, the not-very-pleasant <$>
and <*> each have word<br>
> alternatives, fmap and ap. Even <> has mappend.</p>
<p dir="ltr">fmap predates <$>, and <$> tends to be
used only in certain contexts. "ap" has a narrower type than
<*>.</p>
<p dir="ltr">> I don’t hold much hope for this, Haskellers love
operators as much as<br>
> Perl programmers so few on this list will see the value in
plain old<br>
> words, but at least I can link to this email in the
archives for<br>
> future reference.</p>
<p dir="ltr">I have nothing against the idea in principle, but
that name won't fly.</p>
<br>
<fieldset></fieldset>
<br>
</div></div><span class=""><pre>_______________________________________________
Libraries mailing list
<a href="mailto:Libraries@haskell.org" target="_blank">Libraries@haskell.org</a>
<a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a>
</pre>
</span></blockquote>
<br>
</div>
</blockquote></div><br></div>