Embracing Flexibility in Haskell Libraries: The Power of Records of Functions
Improve the robustness and flexibility of your Haskell apps by changing how you design your libraries.
Improve the robustness and flexibility of your Haskell apps by changing how you design your libraries.
We often need to make and manipulate derived types that are similar to each other, but not quite the same. Higher-kinded records provide a way to do this in a generic way, but are clunky. We'll learn how to use the barbies library to make this easier.
An argument for using really exhaustive pattern matching.
In the last post, we figured out an interface for the RPC caller to invoke remote Haskell functions. In this post, we'll see how to handle the server side.