Hacker News new | ask | show | jobs
by edgyswingset 4324 days ago
Absolutely. One of the best starting places would be the Why Use F# series:

http://fsharpforfunandprofit.com/series/why-use-fsharp.html

It compares and contrasts C# and equivalent F# code for relatively simple, but common-in-the-real-world examples, while introducing some functional constructs. I'd also recommending reading the "Thinking Functionally" series.

After that I'd recommend skimming some of the topics on the F# wikibook:

http://en.wikibooks.org/wiki/F_Sharp_Programming

And then I'd begin with rewriting some components in your existing project while continuing reading through that book and other online resources.

Me and a coworker also rewrote ~600 line C# module into a working module in F#, along with some interop POC here: https://github.com/cartermp/CSharpToFSharp

It's the product of a little over 20 hours of development across two people new to the language (and thus has some warts...), so take it as a grain of sand. Uses MS Unit Testing framework for F# (available via NuGet).