Proposal: ArgumentDo

Sven Panne svenpanne at gmail.com
Fri Jul 8 09:32:43 UTC 2016


2016-07-08 9:09 GMT+02:00 Joachim Breitner <mail at joachim-breitner.de>:

> Am Freitag, den 08.07.2016, 08:35 +0200 schrieb Sven Panne:
> >    foobar
> >       do f &&& g
> >       x
> [...] Only with the proposed addition, it becomes an argument to foobar.
> [...]
>

Huh?  Nope! The Wiki page explicitly says that

   do f &&& g
   x

means

   (f &&& g) x

Why should this be different here? Simply writing "foobar" above that
construct won't trigger any special layout rules, I hope...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20160708/71ce11fb/attachment-0001.html>


More information about the Glasgow-haskell-users mailing list