Edward Kmett - Type Classes vs. the World
What it is
Edward Kmett speaks at the Boston Haskell meetup about type classes and the design tradeoffs of global coherence compared with other approaches to implicit instances. It covers why uniqueness of instances matters for reasoning and refactoring.
Why Hacker News recommends it
HN points to it as the definitive explanation of why coherence and the orphan rule matter, in debates over Haskell, Rust traits, OCaml modules and Elm.
- 2 people recommended it
- 2 different months
- 1 strong recommendations
- first 2015, last 2024
What HN commenters said
“Ed Kmett's fantastic "Typeclasses v. the World" talk covers”
Kmett explains benefits of global coherence for refactoring and reasoning.
shadytrees, 2015-09 · Strong recommendation · in “Haskell's Type Classes: We Can Do Better”
“Edward Kmett has a great explanation[1] of the considerations around this space.”
Explains why alternatives to the orphan rule hurt reasoning.
Twey, 2023-08 · Recommendation · in “This isn’t the way to speed up Rust compile times”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: haskell, type classes, coherence, orphan rule, edward kmett, traits
Also recommended by the same people
talkHow Python was Shaped by leaky Internals, Armin Ronacher, Flask frameworkВидео с мероприятий {speach! · 15 HN recommenders · 2017–2025
talkWhy Isn't Functional Programming the Norm? – Richard FeldmanMetosin · 12 HN recommenders · 2019–2025
talkMaybe Not - Rich HickeyClojureTV · 14 HN recommenders · 2018–2025
demoConway's Game Of Life in APLDyalog · 11 HN recommenders · 2010–2024
lectureLecture 1A | MIT 6.001 Structure and Interpretation, 1986MIT OpenCourseWare · 11 HN recommenders · 2012–2024
lectureCrockford on JavaScript - Volume 1: The Early YearsYUI Library · 10 HN recommenders · 2013–2022
talkGrowing a Language, by Guy SteeleBill Pugh · 11 HN recommenders · 2014–2026
talkEffective Programs - 10 Years of Clojure - Rich HickeyClojureTV · 10 HN recommenders · 2017–2026