[Haskell] confusing language in report and a bug in (ghc|hugs)

Cale Gibbard cgibbard at gmail.com
Mon Aug 2 16:58:36 EDT 2004


It works really well stylistically inside the do notation:
x <- f =<< xs

where you can view this as a process whereby each of the things in the
monadic container xs has f applied to it, and each result obtained
from that is then bound to x, so the data flows naturally.

 - Cale Gibbard

On Mon, 02 Aug 2004 18:27:12 +0100, Graham Klyne <gk at ninebynine.org> wrote:
> At 12:49 29/07/04 -0700, John Meacham wrote:
> >out of curiosity, when is the =<< useful? I have never used it and I am
> >wondering if it could have been making my life easier. Perhaps I have
> >just not been trained to recognize when it should be used.
> 
> I don't know if this counts as "useful", but I think it works as the
> monadic variant of function composition.
> 
> #g
> 
> ------------
> Graham Klyne
> For email:
> http://www.ninebynine.org/#Contact
> 
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>


More information about the Haskell mailing list