A collection of general coding tips and tricks, illustrated with examples from the Shopfoo demo project. Each tip is self-contained and can be applied independently in your own codebase.
#ActivePattern
Lightweight FsCheck generators
Parameterized tests with mirror enums
The As active pattern
As
#Serialization
Type hierarchy without OOP
#Test
Better assertions
#Tooling
F# formatting with Fantomas
#TypeModeling
Strongly-typed identifiers
#TypeSafety
Last updated 19 days ago