Skip to content
0:00 / 0:00

#haskell#ghc#derivingstrategies

The Haskell Unfolder Episode 39: deriving strategies

Well-Typed

3.4K subscribers • 13 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

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.

Why it's here

1 person recommends this

u/kosmikusin r/haskell • Recommends

The Haskell Unfolder Episode 39: deriving strategies