Skip to content
An attempt at a very terse F# learning list
Branch: master
Clone or download
dmannock Training sessions feedback - before you code section (concepts/syntax…
…), basics ordering, clearer numbered sections
Latest commit a269dbd Jun 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Examples.fs Training sessions feedback - before you code section (concepts/syntax… Jun 1, 2019
README.md Training sessions feedback - before you code section (concepts/syntax… Jun 1, 2019

README.md

Learn F# in x minutes - intro

An attempt at a very terse F# learning list

1. Remember: Before you code

  1. Imutability by default
  2. Functions everywhere (passed round like values)
  3. Type Inference (annotations usually aren't required)
  4. Indentation is important (not { } for blocks of code)
  5. Whitespace to seperate arguments (not commas)

2. Basics

  • 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.

3. Learn

Online REPLs

Interactive learning

Learning Resources

4. Setup locally

  1. .NET Core SDK
  2. One of these or your favourite editor with F# support

License

This work is licensed under a Creative Commons Attribution 4.0 License. For more information see the full license details

Originally for Manchester F# User Group

Any suggestions / improvements welcome.

You can’t perform that action at this time.