haskell
Haskell jaror Now 100%

The Haskell Unfolder Episode 16: monads and deriving via

well-typed.com

In this episode, we'll see how deriving-via can be used to capture rules that relate type classes to each other. As a specific example, we will discuss the definition of the Monad type class: ever since this definition was changed back in 2015 in the Applicative Monad Proposal, instantiating Monad to a new datatype requires quite a bit of boilerplate code. By making the relation between

2
1
Comments 1