Haskell Best Practices– Wildcards aren't Your Friend.
An argument for using really exhaustive pattern matching.
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.
In "One Serialization Class to Rule Them All", I described a way to use a single typeclass to optimally serialize and deserialize multiple data formats in Haskell. In this post, we'll see how to turn Haskell functions into RPC calls.
A lot of the Rust <-> Haskell interop examples out there are for small, synchronous libraries. They also tend to omit how to actually package the Rust library. We'll take a look at challenges and solutions for how to integrate a Tokio-based Rust library with Haskell.