Version of miniKanren I normally use. Has ==, =/=, symbolo, numbero, generalized absento constraints.
Scheme Racket
Latest commit a628cb7 Jan 17, 2015 @michaelballantyne michaelballantyne matche.rkt

README.md

miniKanren-with-symbolic-constraints

The version of miniKanren I normally use. Includes ==, =/=, symbolo, numbero, generalized absento constraints.

Good for writing Quine-generating interpreters, etc. :)

Also includes eigen, which represents universally quanitifed variables. Beware: this implementation does not support use of eigen with constraints other than ==.

Also includes multi-query variable version of run. For example, (run (q r s) (== (cons r q) s)).

Running

Chez and Vicare

(load "mk.scm")

Racket

(require "mk.rkt")

Guile

(load "mk-guile.scm")

Chicken

(load "mk-chicken.scm")

Running Tests

After loading miniKanren as above,

(load "test-all.scm")

regardless of scheme implementation.