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 <[email protected]> wrote:

From: Henning Thielemann <[email protected]>
Subject: Re: [Haskell-cafe] What is <-
To: "michael rice" <[email protected]>
Cc: [email protected]
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 -> ...



      
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to