028: | Scala Typeclassopedia with John Kodumal - YouTube
http://www.youtube.com/watch?v=IMGCDph1fNY
Saved on 2012-11-11 [15655 edays] via youtube.com
Modified 2023-08-09 [19578 edays]
presentations scala types

Ad-hoc polymorphism, known most commonly as "type classes" (in Haskell originally, and Scala more recently) or "protocols" (in Clojure), enables us to write highly generic, modular and reusable code. We can easily invent our own type classes as we see fit, but it turns out that several common type classes -- many of which represent mathematical concepts such as "monad" and "functor" -- capture some very useful patterns for software architecture, and end up appearing frequently in many popular libraries. The "Typeclassopedia" will give us a whirlwind tour of these type classes, their operations and how they're used in real-world, production code.