Serving an API - Servant by construction part 3

In the previous post in this series , we derived type-safe links for API endpoints. While this wasn’t a revolutionary use of a computer, it set the stage for better, bolder things. We learned about extending Servant using typeclasses, and the central role of Proxy . Today, we do some real web development stuff: we’ll go too far building abstractions we’ll serve an API. This file is a Literal…