January 2023
Intermediate to advanced
648 pages
17h 32m
English

The description of the motion of an object in terms of its position, velocity, and acceleration is called kinematics. In this chapter, we’ll give a succinct review of one-dimensional kinematics while showing how the Haskell language naturally encodes its ideas and equations. We’ll use the Haskell functions introduced in Chapter 2 and the types we introduced in Chapter 3. The equations of kinematics, being largely definitional, have an almost one-to-one correspondence with Haskell functions.
Have you ever seen an air track? An air track is a fun toy, or, if you’re feeling more serious, a ...
Read now
Unlock full access