learn_fsharp_in_x_minutes icon indicating copy to clipboard operation
learn_fsharp_in_x_minutes copied to clipboard

An attempt at a very terse F# learning list

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.