async/await in F#

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 14 00:53:15 PDT 2014


In this post:
http://forum.dlang.org/post/l62466$2n8p$1@digitalmars.com

Walter said, in November:

> I agree that async/await has to eventually be added to D. I'm 
> not
> convinced it can or should be done with AST macros.


But this blog post shows why the rigid features of C# are not 
always the best and the Computation Expressions of F# give more 
flexibility:

https://mrange.wordpress.com/2014/05/29/why-i-wish-c-never-got-asyncawait/


More info on the Computation Expressions of F# (found at the top 
of a Google search, but also found to be the best references on 
this topic):

tomasp.net/academic/papers/computation-zoo/computation-zoo.pdf

http://msdn.microsoft.com/en-us/library/dd233182.aspx

http://en.wikibooks.org/wiki/F_Sharp_Programming/Computation_Expressions

http://fsharpforfunandprofit.com/series/computation-expressions.html

Bye,
bearophile


More information about the Digitalmars-d mailing list