Skip to content

Instantly share code, notes, and snippets.

@denlab
Created September 8, 2012 07:58
Show Gist options
  • Save denlab/3672685 to your computer and use it in GitHub Desktop.
Save denlab/3672685 to your computer and use it in GitHub Desktop.
;; 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