January 2018
Beginner to intermediate
312 pages
7h 22m
English
In the second chapter, we captured the domain-driven requirements for a single workflow of the order-taking system. The next challenge is to convert those informal requirements into compilable code.
The approach we are going to take is to represent the requirements using F#’s “algebraic type system.” In this chapter we’ll learn what algebraic types are, how they are defined and used, and how they can represent a domain model. Then, in the next chapter, we’ll use what we’ve learned to accurately model the order-placing workflow.
Read now
Unlock full access