[Haskell-cafe] What is <-

michael rice nowgate at yahoo.com
Sun Aug 8 10:21:56 EDT 2010


getLine >>= \x ->      -- x is a string at this point

[1..] >>= \x ->        -- x is WHAT at this point?

MIchael

--- On Sun, 8/8/10, Henning Thielemann <lemming at henning-thielemann.de> wrote:

From: Henning Thielemann <lemming at henning-thielemann.de>
Subject: Re: [Haskell-cafe] What is <-
To: "michael rice" <nowgate at yahoo.com>
Cc: haskell-cafe at haskell.org
Date: Sunday, August 8, 2010, 9:38 AM


On Sun, 8 Aug 2010, michael rice wrote:

> So, Example 2 desugared becomes...
> 
>      [1..] >== \z ->  ?


Yes, [1..] >>= \z -> ...



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100808/58956484/attachment.html


More information about the Haskell-Cafe mailing list