~/talk

Typeclasses: the value of programming vocabulary

Talkat Code Elixir LDN 2019 · on Thursday, 2019-07-18· [functional-programming]
links:none on file
slides:none on file

Defines typeclasses as interfaces with laws and shows concrete Haskell code: an EQ instance for a traffic light algebraic type used with nub to remove duplicates, and a Functor instance with fmap for lists and a recursive tree (empty stays empty, node maps value and recurses). Explains the two Functor laws (fmap id and composition) and points to the Elixir library at github.com/expede/witchcraft as the practical way to explore these patterns in Elixir.

AI-written summary · about

  1. 0:00Introduction
  2. 2:13Haskell
  3. 3:42Arcane spells
  4. 4:22What are they
  5. 4:53Erlang spells
  6. 5:33Elixir spells
  7. 5:57Type classes
  8. 7:31EQ Haskell
  9. 8:29Algebraic Data Types
  10. 9:22Implementing the Interface
  11. 10:34Functor
  12. 11:39FunkMap
  13. 12:18Tree
  14. 13:16Fmap
  15. 14:03Eid
  16. 15:57Funktoes
  17. 16:51Applicative
  18. 17:45Elixir Land
  19. 18:06Witchcraft
  20. 18:29Conclusion
  21. 19:13George Orwell 1984
  22. 19:43Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.