September 2021
Intermediate to advanced
504 pages
12h 50m
English
This chapter covers
In chapter 7, we worked through the design of a functional library for expressing parallel computations. We introduced the idea that an API should form an algebra —that is, a collection of data types, functions over these data types, and, importantly, laws or properties that express relationships between these functions. We also hinted at the idea that it might be possible to somehow validate these laws automatically. Validation is an important step, as we need to know that the code we write conforms with the laws we have imposed on ...
Read now
Unlock full access