4 ms·
async/await and "where" clauses for variance/existential types, perhaps?
by pcwalton 13y ago
async/await and "where" clauses for variance/existential types, perhaps?
- MichaelGG 13y agoAsync workflow was in F# about 5 years before C#, and implemented purely as a library - no hardcoded keywords needed. As I understand, any language with monad syntax can create such a feature. The new generic variance is actually interesting. AFAIK, the MSR team had that as part of the spec, and it's been sitting in the CLR since 2.0. It's curious that C# is the only language besides MSIL to expose the feature.