~/talk

miniKanren

Talkat Clojure/conj 2011 · 2011-11-10..11-12· [functional-programming]
links:none on file
slides:none on file

Live demo of miniKanren shows relations translated from functions (appen with an extra answer arg) and an interpreter that can run backward generation to synthesize code — example: search for programs that evaluate to 6 and try to recover factorial(5) = 120. A constraint layer adds finite-domain constraints plus disequality and all-different so cryptarithmetic (SEND+MORE=MONEY) and 8-queens run (returns 92 solutions, ~1.7s here). A scoping bug in env lookup is fixed by adding a disequality constraint; demos are interactive and working.

AI-written summary · about

  1. 0:00Introduction
  2. 2:08A Pen
  3. 8:37Will Bird Law
  4. 15:34Writing an interpreter
  5. 22:04Recursion
  6. 26:09CK
  7. 28:49Operators
  8. 40:45Logic
  9. 41:27Reply Info
  10. 42:02Let Program
  11. 44:34Theorem Prover
~/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.