~/talk

Fun with the Lambda Calculus

Talkat GOTO Chicago 2015 · 2015-05-11..05-14· [compilers-and-language-design]
slides:none on file

Live codes a tiny lambda calculus in Ruby using single-argument Ruby lambdas and the CLI, defines true/false as chooser functions, builds an if that executes choices and an assert/refute test harness, implements pairs as pair-as-function to carry the predecessor, defines successor and predecessor so numbers behave like 0, 1, 2, proves successor is never zero, converts between Ruby ints and these naturals and demos running a 10-times loop printing ten.

AI-written summary · about

  1. 0:00Start
  2. 0:12The Lambda Calculus
  3. 2:26Piano's Axioms
  4. 2:43Equality Axioms
  5. 3:14Axiom about Being Closed under Equality
  6. 3:31Successor Function
  7. 6:15Zeros of Natural Number
  8. 10:07The Single Responsibility Principle
  9. 14:53If Statement
  10. 28:07Nonzero Numbers
  11. 40:46Programming by Wishful Thinking
~/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.