September 2023
Intermediate to advanced
470 pages
11h 12m
English
The exercises in this chapter will focus on user stories and property testing.
Here is your friendly reminder that nobody can learn functional programming by just reading code, and the best way to learn is by practicing. You can refer to the exercises folder in the book code repository for the starting point and some hints.
For this exercise, you need to think about describing the typical experience at a grocery store in terms of events.
Try to write down on post-its all the things that can happen while trying to buy food in a small shop—things like “customer entered,” “customer asked for something,” and so on. Then try to reorder them in a rough timeline, and group together related ones. Can you ...
Read now
Unlock full access