Summary

In this chapter you get familiar with extremely important F# features that represent algebraic data types. For each of the types, the topics of composition, decomposition, standard and custom equality and comparison, and augmentation are covered. In the end, you are expected to understand the reasons behind the superiority of F# data composition with native algebraic data types over custom POCOs.

In the next chapter, I'll turn to the exciting subject of F# sequences that represent data and calculation dualism.

Get F# 4.0 Design Patterns 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.