Re:Roc – A fast, friendly, functional language
by mgomez on Monday November 20, 2023 @01:28PM
(#38352139)
Here's a non-wizard tutorial that I bookmarked when I started with F# (I also had a hard time finding a simple example at first):
https://learn.microsoft.com/dotnet/fsharp/get-started/get-st...
What I like about this page is that it shows a basic project structure.
Re:Roc – A fast, friendly, functional language
by evanwalsh on Monday November 20, 2023 @01:15PM
(#38351921)
Here's a decent tour: https://learnxinyminutes.com/docs/fsharp/
Re:Roc – A fast, friendly, functional language
by whalesalad on Monday November 20, 2023 @01:17PM
(#38351952)
this website is great - should truthfully be 50% of the index.html of every language project ever.
Re:Roc – A fast, friendly, functional language
by Eji1700 on Monday November 20, 2023 @02:12PM
(#38352905)
Oh yeah. A key hindrance of F# is that MS treats it like a side project even though it's probably their secret weapon, and a lot of the adopters are dotnet coders who already know the basics so the on-boarding is less than ideal.
https://fsharp.org/ is the best place to actually start, although i'm guessing you did and went to the hello world which leads back to ms's nightmares.
https://fsharpforfunandprofit.com/ is the standard recommendation from there but there's finally some good youtube and other content out there.
They have a browser repl as well https://try.fsharp.org/
Re:Roc – A fast, friendly, functional language
by whalesalad on Monday November 20, 2023 @03:34PM
(#38354270)
fsharp.org is actually the offender. lots of links to basically nothing and quite a few of them are a dead end 404.
Everything is hidden behind some kind of "let's get started!" wizard. https://dotnet.microsoft.com/en-us/learn/languages/fsharp-he...