Adding an ignore function to Control.Monad

Henning Thielemann lemming at henning-thielemann.de
Thu Jun 11 14:57:31 EDT 2009


On Thu, 11 Jun 2009, David Menendez wrote:

> On Thu, Jun 11, 2009 at 1:53 PM, Sittampalam,
> Ganesh<ganesh.sittampalam at credit-suisse.com> wrote:
>>
>> do _ <- getLine
>>   return 3
>>
>> Ganesh
>
> Again, why do you think that? I much prefer the current syntax.

http://haskell.org/haskellwiki/Restrict_type_of_monadic_binding
http://haskell.org/haskellwiki/Do_notation_considered_harmful#Safety


More information about the Libraries mailing list