Created
January 28, 2014 14:11
-
-
Save jsl/8668369 to your computer and use it in GitHub Desktop.
Running microKanren in Guile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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