News for hackers. Stuff that matters.
Re:F# Data Type Providers in .Net Core (2018) by platz on Tuesday January 07, 2020 @09:22PM (#21987658)
well C# 8.0 introduced async streams, for example
Re:F# Data Type Providers in .Net Core (2018) by chusk3 on Wednesday January 08, 2020 @08:20AM (#21991146)
Yes, and the F# library for asynchronous sequence processing had support added for them shortly thereafter (https://fsprojects.github.io/FSharp.Control.AsyncSeq/library...)
Re:F# Data Type Providers in .Net Core (2018) by phillipcarter on Wednesday January 08, 2020 @01:06PM (#21994018)
It's worth noting that this isn't an "IL feature", but a new type that includes some knowledge of the type shape in the C# compiler. The existing F# package for async streams understands the new type, and it "just works" in F#.
Re:F# Data Type Providers in .Net Core (2018) by adgasf on Wednesday January 08, 2020 @04:55AM (#21989978)
F# allows you to implement such features as libraries using computation expressions.
Re:F# Data Type Providers in .Net Core (2018) by louthy on Wednesday January 08, 2020 @07:35AM (#21990817)
So does C# with LINQ [1]. I guess C# language development tends to lean more on concrete syntax than libraries, which is a shame, but it is possible. It's also a shame LINQ can't be extended like computation expressions.

[1] https://github.com/louthy/language-ext/blob/master/LanguageE...

Re:F# Data Type Providers in .Net Core (2018) by dgudkov on Wednesday January 08, 2020 @03:48AM (#21989631)
The async model in F# is entirely different from C#. Not sure if an equivalent of C# async streams would make sense in it.