0:00 / 0:00
#ghc#deriveanyclass#derivingvia
@rae: DeriveAnyClass considered dangerous
Tweag by Modus Create
5K subscribers • 25 videos on Hallway
- Recommended by 1 person: 1 in engineering communities.
- Presented by Richard Eisenberg, software engineer at Tweag
- An opinion. It argues one side of a question engineers disagree on.
Intermediate. Assumes working knowledge.
1K views5 years ago1 recommendation
Programming languagesHaskellLanguage design and type systems
Richard Eisenberg explains why the DeriveAnyClass GHC extension can be dangerous and how to use DerivingVia instead.
This video explores the DeriveAnyClass GHC extension, describing what it does, why it could be considered dangerous, and a way to avoid using it (in favor of -XDerivingVia). Find me at richarde.dev/Why it's here
1 person recommends thisWhat people say. Recommended as a clear explanation of the pitfalls of DeriveAnyClass in Haskell.