Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

F# for C#/Haskell programmer [closed]

Tags:

c#

.net

haskell

f#

What is recommended tutorial of F# for Haskell programmer? F# seems to borrow a lot from Haskell but there are little traps which makes hard to write.

Generally I need walkthrough the F# which would not explain what is the difference between mutable data and immutable (Haskell is much more strict in this area) etc.

I know C# a little so I know more or less what .Net is about as well.

like image 356
Maciej Piechotka Avatar asked May 03 '10 01:05

Maciej Piechotka


2 Answers

Since you will already know 90% of the concepts, I would just focus on the syntax, and read e.g. the F# Language Reference on an as-needed basis. Pick a few basic tasks for yourself, try to code them up, use the reference to get un-stuck, and ask questions here when you get really stuck.

(You won't find many docs aimed at you, since the "I know Haskell, but not ML or F#" set of people is much much smaller than the "I know C#, but not Haskell, ML, or F#" group.)

(You might also consider picking and choosing from my blog; I write both beginner stuff and advanced stuff.)

like image 98
Brian Avatar answered Nov 13 '22 20:11

Brian


Free:

The F# Survival Guide

F# Wiki Book

Good books:

Programming F# for beginners

Expert F# for those who already write simple F# programs

like image 45
Yin Zhu Avatar answered Nov 13 '22 20:11

Yin Zhu