Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

F# Fundamentals - Learn Functional Programming - Step-by-Step Guide

via YouTube

Overview

Dive into a comprehensive F# tutorial designed to equip programmers with the essential tools and best practices for writing functional F# code. Explore key concepts such as let bindings, type inference, functions, currying, partial application, and function composition. Delve into F#'s type system, including product types, sum types, and pattern matching. Learn about collections, exception handling, and error modeling. Gain insights into file organization, namespaces, and modules. Master F# Interactive, understand the differences between expressions and statements, and explore advanced topics like generics and statically resolved type parameters. By the end of this step-by-step guide, acquire the knowledge to be immediately productive in F# programming while avoiding common pitfalls.

Syllabus

- Intro.
- .fs vs.fsx files.
- Let binding.
- Type inference.
- Whitespace delimitation.
- F# Interactive.
- it.
- Type annotations.
- Primitives.
- Mutable/Assignment.
- Functions.
- Expressions vs Statements.
- Lambda expressions.
- Currying/Baking-In .
- Partial Application.
- Prefix vs Infix operator notation.
- Function composition.
- Pipe operator.
- Composition operator .
- Defining new operators.
- Files, namespaces and modules.
- Ordering definitions.
- Ordering Files.
- Number of files/file size rant F# vs OOP.
- Access Control.
- Hello World/Main function.
- Unit.
- Printing to Console.
- Design time, compile time and runtime errors.
- Eager evaluation vs lazy evaluation.
- Type system.
- Product types.
- Record type.
- Tuple .
- Anonymous records.
- Sum types.
- Discriminated Unions.
- Pattern Matching.
- The "function" keyword.
- Pattern matching with let and fun -- .
- Option type.
- Domain Errors vs Exceptions.
- Generics and SRTP.
- Inline keyword.
- Type members.
- Collections.
- Arrays.
- Lists.
- Collection libraries.
- List.head.
- Recursion / List.iter.
- List.map.
- List.fold.
- List.reduce.
- List.sum.
- Bind.
- Exception handling.
- Results / Error Modeling.
- Outtro.

Taught by

Ben Gobeil

Reviews

Start your review of F# Fundamentals - Learn Functional Programming - Step-by-Step Guide

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.