© Kit Eason 2018
Kit EasonStylish F#https://doi.org/10.1007/978-1-4842-4000-7_7

7. Record Types

Kit Eason1 
(1)
Farnham, Surrey, UK
 

Proper storage is about creating a home for something so that minimal effort is required to find it and put it away.

—Geralin Thomas, Organizing Consultant

Winning with Records

Record types are a simple way of recording small groups of values. You define a set of names and corresponding types, then you can create, compare, and amend instances of these groupings with some extremely simple syntax. But behind this simplicity lies some powerful and well-thought-out functionality. Learn to wield record types effectively and you’ll be well on the way to becoming an expert F# developer. It’s also worth knowing when not to use ...

Get Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.