Created
September 8, 2012 07:58
-
-
Save denlab/3672685 to your computer and use it in GitHub Desktop.
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
;; quel sont les parents de Bart? | |
;; | |
(run* [q] | |
(parent 'Bart q)) | |
;; => (Homer Marge) | |
(set (run* [q] | |
(fresh [c] | |
(parent c q) ))) | |
;; => #{Abraham Marge Homer} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment