September 2023
Intermediate to advanced
470 pages
11h 12m
English
“Luke, you’re going to find that many of the truths we cling to depend greatly on our own point of view.”
In the previous chapter, you learned about functors. In the next step, as we continue our Zettai application, we’ll remove the mutable Fetcher from our application, and instead, generate custom views of our data “projecting” the events. These views are called projections, and they’ll work as read-only models for our application.
You’ll see how functors allow us to query our projections by simply composing pure functions in a type-safe way and without the risk of leaking resources.
Finally, we’ll put it all together to implement the “what’s next” feature of our application. ...
Read now
Unlock full access