Erik Simmler

Internaut, software developer and irregular rambler

Adding constraints to Canrun

Be sure to read Building Canrun: A statically typed logic programming library for Rust to put this article in context. Also see my update post with more recent API/implementation notes.

In basic μKanren, values interact through unification[^interpretation]. While impressive results can be achieved with a bit of creativity (see: math with Peano numbers), I wanted something more direct, understandable and arbitrarily powerful. I like my toys to have at least a veneer of practicality.

Read More