~/talk

Monoids, Monoids, Monoids

Talkat Scala World 2019 · 2019-09-11..09-13· [functional-programming]
slides:none on file

Argues that monoids underlie many Scala patterns and shows concrete code-level uses: integer addition, string concat, set union, Option and tuple monoids, Map merge using a value monoid, and IO/Future sequencing. Demonstrates parallel aggregation with FS2 mapAsync + chunk + combineAll to fold large streams deterministically, and uses Cats + discipline for property tests. Notes Rubik's Cube as a permutation group (~4.6×10^19 permutations), experiments with Scala 3 union types as bounded semilattices, and reports the prototype designs compile and behave as expected.

AI-written summary · about

  1. 0:00Introduction
  2. 1:57What are monoids
  3. 8:43Monoid laws
  4. 13:18Beyond monoids
  5. 24:13Advanced algebraic structures
  6. 30:51Type-level monoids
  7. 41:24Monoids in libraries
  8. 47:07Union/intersection types
  9. 53:05Conclusion and key takeaways
~/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.