The Book of F#
summary
A reverse‑Polish calculator example shows curried functions and partial application producing concise stack-based evaluation; an HTML AST (discriminated unions + recursion) compiles to string with tail‑call recursion and a simple string writer, proving the pattern works; a Regex type provider demo generates typed captures so renaming a group triggers a compile error; units‑of‑measure stops passing Celsius where Fahrenheit is required (compiler error); note active patterns are oddly limited to seven cases and everything runs in VS Code on macOS.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 2:10Daves story
- 4:00What is F
- 4:54Functional Programming
- 6:57Type System vs Unit Tests
- 8:35Reverse Polish Notation
- 11:15Curried Functions
- 14:45Partial Function Application
- 16:00Operators as Functions
- 16:50Pipelining
- 17:30Ignore
- 21:12Tuple
- 26:19CLI mutable
- 27:11Matching against records
- 29:18Discrimination unions
- 33:14Discrimination unions as trees
- 37:02Abstract syntax trees
- 40:30Units of measure
- 46:53Active patterns
- 53:19Type providers
related talks
01h 05mBusting the Func'ing Jargon
01h 03mFunctional Programming with C#
01h 01mLive Lambda Calculus
01h 00mFunctional-first programming with F#
42mFunctional interpreters and you
56mFunctional Programming on .NET - The Best of Both Worlds
42mF# for the curly brace developer
58mFunctional Programming with C#
