Skip to content

Instantly share code, notes, and snippets.

@jsl
Created January 28, 2014 14:11
Show Gist options
  • Save jsl/8668369 to your computer and use it in GitHub Desktop.
Save jsl/8668369 to your computer and use it in GitHub Desktop.
Running microKanren in Guile
; You need to load a library for the assp function to run the microKanren code in Guile:
(import (rnrs))
(load "microKanren.scm")
(load "miniKanren-wrappers.scm")
(load "microKanren-test-programs.scm")
((call/fresh (lambda (q) (== q 5))) empty-state)
; $3 = ((((#(0) . 5)) . 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment