[Haskell-cafe] extending Do notation

Ozgur Akgun ozgurakgun at gmail.com
Tue May 20 17:17:37 UTC 2014


Hi Silvio,

On 20 May 2014 18:10, silvio <silvio.frischi at gmail.com> wrote:
>
>  stmtpart1 { exp } stmtpart2
>
> should desugar to
>
> x <- exp
> stmtpart1 x stmtpart2
>


As Niklas already pointed, and his message seems to have been ignored for
some reason, search for "Idiom brackets" -- they solve a very similar
(same?) problem.

Ozgur.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140520/7ed05bc5/attachment.html>


More information about the Haskell-Cafe mailing list