~/talk

The Power of Function Composition

slides:none on file

Five distinct function-composition strategies are demonstrated (operators, functions, trains, chains) and used to solve a LeetCode “special array” problem across eight languages: Python, Haskell, Clojure, APL/Cap, BQN, J, Jelly and Wewa. The talk shows concrete code: using Python’s itertools pairwise and operator.ne, the S and B combinators, APL’s n‑wise reductions, and a custom Jelly translator tool. It highlights that mapAdjacent plus a simple reduction matches combinatoric solutions and notes Wewa’s recent release (Wewa (Sep 2023)).

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Talk overview
  3. 3:11Function composition strategies
  4. 8:08Combinators explained
  5. 11:16Elementary combinators
  6. 16:38Problem: Special array
  7. 18:21Python iterative solution
  8. 20:47Python zip/generators
  9. 23:18Python S combinator
  10. 25:25Haskell combinators
  11. 27:54Haskell map adjacent
  12. 29:58Closure threading macros
  13. 31:45Array languages overview
  14. 33:31Live coding APL
  15. 36:16Live coding Cap
  16. 37:41Live coding BQN
  17. 39:49Live coding J
  18. 41:17Jelly chains
  19. 43:03Wewa stack/array
  20. 44:49Summary
  21. 46:12Resources
~/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.