[Haskell-cafe] What is <-

Christopher Done chrisdone at googlemail.com
Sun Aug 8 10:26:49 EDT 2010


On 8 August 2010 16:21, michael rice <nowgate at yahoo.com> wrote:

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

Num n => n

A number from the list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100808/3b3a1a47/attachment.html


More information about the Haskell-Cafe mailing list