~/talk

Typed Embedding of miniKanren for Functional Conversion

links:none on file
links:none on file
slides:none on file

A typed tagless-final embedding of miniKanren into Haskell replaces the old untyped deep AST with generated logic-term types (via Template Haskell), enabling typed tagless-final embedding, eliminating the monolithic Term and making generators implicit generator passing based on Haskell types. The pipeline normalizes the EDSL into the existing functional-conversion backend that emits deterministic functions returning lazy streams preserve completeness of nondeterministic results; the conversion runs and yields the earlier speedups, embedding alone does not.

AI-written summary · about

  1. 0:00Typed miniKanren embedding intro
  2. 0:21Functional conversion importance
  3. 1:25Verifiers and solvers from relations
  4. 2:28Performance bottlenecks
  5. 3:13Specialization for faster miniKanren execution
  6. 4:57Eliminating unifications
  7. 6:03Haskell embedding
  8. 8:55Logical variables with generators
  9. 9:58Limitations of untyped embedding
  10. 11:48Requirements for typed embedding
  11. 13:12Designing typed embedding
  12. 15:00Final tagless style
  13. 16:22Implementing interpreters
  14. 17:04Normalization pipeline
  15. 18:29Typed embedding benefits
  16. 19:16Q&A
~/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.