~/talk

Sums, Products, Exponents, Monoids, Functors, Oh My!

Talkat CppCon 2021 · on Wednesday, 2021-10-27· at 09:00· online· [design-collaboration]
links:none on file
slides:none on file

Claims that algebraic type laws make APIs predictable and reusable and demonstrates them with C++ library features: std::variant, std::optional, std::transform and ranges, plus a lazy coroutine example that implements fmap bind and join. Shows monoids enabling parallel folds and tree indexes, functors as mappable containers, monads for chaining context-bearing functions, and the derivative-of-types idea giving zipper types. Examples are small, implementable, and tested conceptually in C++ code.

AI-written summary · about

  1. 0:00Start
  2. 2:29Types and Structures
  3. 4:06Product Types
  4. 6:25Void and Monostate
  5. 7:58Exponential Types
  6. 8:51Examples of Functions
  7. 10:55Isomorphism
  8. 13:16Normal Form
  9. 14:44Empty Type
  10. 17:26Recursive Types
  11. 20:02Algebraic Structures
  12. 21:44Inverse Operation
  13. 22:19Commutivity
  14. 23:08Disclaimer
  15. 28:12Examples of Monoidal Operations
  16. 29:17Operation as a Free Operator
  17. 31:56Groups
  18. 32:19Concurrency
  19. 36:08Inverses
  20. 37:32Higher Order Structures and Composing Operations
  21. 39:24Function Composition
  22. 40:52Functor
  23. 44:22Transform to Optional
  24. 48:28Arrow Function
  25. 52:05Associativity Rule
  26. 55:38Bind Operation
~/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.