u/kosmikusin r/haskell • Recommends
The Haskell Unfolder Episode 39: deriving strategies
#haskell#ghc#derivingstrategies
3.4K subscribers • 14 videos on Hallway
Intermediate. Assumes working knowledge.
997 views1 year ago1 recommendation
Programming languagesHaskellLanguage design and type systems
The Haskell Unfolder explains the four different strategies GHC offers for deriving class instance definitions.
In this episode we'll discuss the the four different ways GHC offers for deriving class instance definitions: the classic "stock" deriving, generalised "newtype" deriving, as well as the "anyclass" and "via" strategies. For each of these, we'll explain the underlying ideas, use cases, and limitations.u/kosmikusin r/haskell • Recommends