Learning F# as a Haskeller - F#

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Sridhar Ratnakumar

Have any of the Haskellers here tried learning F#? What are your thoughts?

TheMatten

I was deterred by "weirder" syntax and .NET (using basically only Linux), and generally I felt I'm not missing anything in Haskell compared to it - but I don't have strong feelings about it and would probably pick it over e.g. Scala

Rizary

Sridhar Ratnakumar said:

Have any of the Haskellers here tried learning F#? What are your thoughts?

I did, couple months ago. I also participate in its mentorship program. It is a good language, and fun to code with it. But I stopped learning it because F# tooling in Nix is not so good.

I want to start again next week, but on my Windows. At least Visual Studio 2019 community Edition/VScode is enough to start developing F#

Rizary

Also, we automatically have .Net rich ecosystem. It's easy to import library written in C# to be used in F#

Rizary

But I stopped learning it because F# tooling in Nix is not so good

Turns out, with .Net 5 and F# 5.0, dotnet in Nix is ready for F# development. However, Xamarin (mobile development) is still only available through Visual Studio or JetBrain Rider.

Sridhar Ratnakumar

I have figured it is better to give up on Nix when doing F# dev. Also I have a windows machine, so that works - but deploying published binaries on nixos will require some patching (not on Ubuntu).