~/talk

Lord of the rings: the Spire numerical towers

Talkat Typelevel Summit Lausanne 2019 · on Friday, 2019-06-14· [functional-programming]
links:none on file
slides:none on file

Spire implements about 80 typeclasses, roughly 30 from algebra and cats‑kernel, and argues which parts follow mathematics and which are pragmatic design. It documents a concrete win: clarified laws of the % operator and provides two usable remainder semantics (truncated vs floored mod) so negative offsets wrap predictably. It formalizes a commutative‑ring tower to support integer factorization and Euclidean division, exposes triplicated group APIs (additive/multiplicative/vanilla), and admits coherence, instance selection and algorithm‑choice tradeoffs.

AI-written summary · about

  1. 0:00Start
  2. 0:47Type classes for numeris
  3. 5:48Plan (typeclasses design trade offs)
  4. 6:51Reverse Hascalator
  5. 9:41What is %?
  6. 13:48Canonical instances
  7. 16:30Conventional natation/syntax
  8. 20:26Lawless type classes are OK
  9. 21:52Plan (type classes design trade offs)
  10. 22:12(Not) closing the lattice
  11. 24:38Algorithm selection
~/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.