An attempt at a very terse F# learning list
- Imutability by default
- Functions everywhere (passed round like values)
- Type Inference (annotations usually aren't required)
- Indentation is important (not
{ }
for blocks of code) - Whitespace to seperate arguments (not commas)
- Primitive types (remember: still .NET)
- Functions
- Tuples
- Pipelines
- Composition
- F# Collection types
- Record types
- Discriminated Union types
- Pattern matching
- Recursive functions
- Option types
- Classes & Interfaces (OOP still exists)
- Using Computation Expressions (async, result, etc made even easier)
That should cover enough to build apps & have a play. Go out there and build awesome stuff! :) Much more to explore when you need it / feel comfortable.
- fable.io click samples > tour of F#
- dotnetfiddle
- F# Syntax in 60 seconds
- Learning F#
- Tour of F# - Official MS FSharp docs
- Learnxinyminutes
- F# Cheatsheet
- .NET Core SDK
- One of these or your favourite editor with F# support
- Visual Studio
- VScode + ionide + (vscode-fsharp-refactor optional shameless plug)
- JetBrains Rider
- Local FSI REPL use
dotnet fsi
(with the latest .NET core)
This work is licensed under a Creative Commons Attribution 4.0 License. For more information see the full license details
Any suggestions / improvements welcome.