2000 character limit reached
Typed Embedding of miniKanren for Functional Conversion
Published 1 Nov 2025 in cs.PL | (2511.00740v1)
Abstract: Relational programming enables program synthesis through a verifier-to-solver approach. An earlier paper introduced a functional conversion that mitigated some of the inherent performance overhead. However, the conversion was inelegant: it was oblivious to types, demanded determinism annotations, and implicit generator threading. In this paper, we address these issues by providing a typed tagless-final embedding of miniKanren into Haskell. This improvement significantly reduces boilerplate while preserving, and sometimes enhancing, earlier speedups.
Paper Prompts
Sign up for free to create and run prompts on this paper.