Algebra of Programming: Chapter 1 section 5
Inverses are (horrible)-1 This section gives an introduction to the extremely interesting concept of implementing a function as the inverse of another with zip and unzip as the examples. First, the goal is to build out our zip and unzip functions to satisfy the equation zip . unzip = id A couple of notes here. [...]