Topic: is await an extension of the do-notation? (was
Author: "Vicente J. Botet Escriba" <vicente.botet@wanadoo.fr>
Date: Sun, 4 Oct 2015 17:44:19 +0200
Raw View
Le 04/10/15 06:44, Gor Nishanov a =C3=A9crit :
>>
>> I suggest to look at this presentation:
>>
>> http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4287.pdf
>>
>> which walks through some of the aspects of P0057 proposal. Note, that th=
e
>> await syntax is actually quite old. It first appeared as do-notation in
>> Haskell in 1998 and you may notice that P0057 can be used to perform mor=
e
>> general "monadic" transformations and not only limited to coroutines.
Hmm, await can not work with list as a monad, isn't it?
Bit no proposal is tempting to take care of this case.
Vicente
--=20
---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.
.