Hacker News new | ask | show | jobs
by bellp1234 2607 days ago
Any word on F#? Last I checked there wasn't any REPL still and type providers weren't working.
4 comments

The F# repl (FSI as fsharp interactive) works in .net core 3.0 preview already, you can do `dotnet fsi` to run it

Type providers works in general, but depends if the type provider library was updated to use latest type provider sdk. Also generative type provider may not works, erasing works

Just adding to Enrico's post here, Type Providers have been fully supported since .NET Core 2.1; some libraries just may not be updated yet.

`dotnet fsi` is planned to be fully released later this year with the .NET Core 3.0 release.

Enrico answered to question w.r.t where F# is now, but F# is going to also be a big part of .NET 5. The only reason it's not mentioned in the post is that we haven't firmly decided on if the F# release that corresponds with .NET 5 will version in lockstep like C# is planned to do.
Don't forget to remind the runtime team that AOT support should also include F#.
Type providers have been working on .NET Core for 18 months or so...
FWIW I was working with F# SQLProvider recently and despite some teething issues, managed to get things working fine.