~/talk

A Typeclass Primer for OO People

Talkat LambdaConf 2018 · 2018-06-03..06-05· [machine-learning]
links:none on file
slides:none on file

Explains how typeclasses attach functions to types with concrete code: Scala and Haskell implementations that differ in resolution and coherence, demos that build a word counter using Monoids for merging frequency maps and JSON codecs that encode/decode types as functions, shows where things break (Java Optional map violating functor composition, Set/hashcode issues), uses QuickCheck-style law tests to find bugs, and reports which implementations actually work and which edge cases surprise.

AI-written summary · about

  1. 0:00Start
  2. 0:17Path of Enlightenment
  3. 1:22Common Structures
  4. 4:07Grouping Functions
  5. 4:59Mapable Interface
  6. 5:32Elm Code
  7. 5:59Ependymal Interface
  8. 6:45Json Encoding
  9. 8:52Mapable Implementation for a Linked List
  10. 10:30Mapable and Functor
  11. 12:22Java Eight Optional
  12. 16:36Floating Points
  13. 17:39Jason Encoding
  14. 27:32Automated Log Checking
  15. 30:51Difference between a Statement and Expression
  16. 31:43Distinction between a Function and the Value
~/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.