Skip to content

Instantly share code, notes, and snippets.

@fogus
Forked from swannodette/gist:1447808
Created December 8, 2011 18:22
Show Gist options
  • Save fogus/1447924 to your computer and use it in GitHub Desktop.
Save fogus/1447924 to your computer and use it in GitHub Desktop.
hard.clj
(defn anyo [g]
(conde
[g succeed]
[(anyo g)]))
(def nevero (anyo fail))
(run* [q]
(conde
[nevero]
[nevero])
(conde
[nevero])
(== true false))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment