Skip to content
0:00 / 0:00

#ghc#deriving#haskell

@rae: All about `deriving` in GHC

Tweag by Modus Create

5K subscribers • 25 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Richard Eisenberg

Intermediate. Assumes working knowledge.

2.5K views4 years ago1 recommendation

Programming languagesHaskellCompilers and interpreters

Richard Eisenberg explains the four different strategies GHC uses to implement the deriving mechanism for new datatypes in Haskell.

I walk through the four different strategies GHC uses to implement `deriving` when declaring a new datatype. Previous video focusing on -XDerivingVia: youtube.com/watch?v=UZaQuSIrO6s Find me at richarde.dev/ or on Twitter at @RaeHaskell. Video index at richarde.dev/videos.html

Why it's here

1 person recommends this

What people say. Recommended as an excellent, clear explanation of how GHC handles different deriving strategies.

u/libeakoin r/haskell • Recommends

Richard Eisenberg: All about deriving