Reputation:
I'm aware of: https://github.com/clojure/core.logic/wiki/Differences-from-The-Reasoned-Schemer
mini-kanren code:
(run* (q)
(eqo pear plum)
(== #t q))
core.logic code
(run* [q]
(== pear plum)
(== true q))
This produces the result (), which is the correct answer.
Is eqo and == the same, or did I just lucky in the above example? Thanks!
Upvotes: 1
Views: 226