by jules · 15y ago · 0 comments
... Foo(await m) ...
Instead of, in F#: let! x = m
... foo x ...
It is certainly possible that the C# designers did recognize the possibility to make await work for any monad, but decided against it because it could possibly result in confusing code or worse performance.If that's the case then it would be great to hear the reason from one of you who are on the C# design team and reading news.yc :)
I'd second that. Maybe someone @MS could send this to the Async team?