(defmacro conda
"Soft cut. Once the head of a clause has succeeded
all other clauses will be ignored. Non-relational."
[& clauses]
(let [a (gensym "a")]
`(fn [~a]
(ifa* ~@(map (cond-clauses a) clauses)))))
See
for copyright and license details.
Vars in clojure.core.logic/conda:
Used in 0 other vars
Comments top
No comments for conda. Log in to add a comment.