Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appendo doesn't work for me as described in tutorial always returns () #6

Open
manythumbed opened this issue Dec 19, 2011 · 1 comment

Comments

@manythumbed
Copy link

tim@mwmbles:~/play/clojure/logic-tutorial$ lein repl
REPL started; server listening on localhost port 5065
user=> (load "logic_tutorial/tut2")
WARNING: == already refers to: #'clojure.core/== in namespace: logic-tutorial.tut2, being replaced by: #'clojure.core.logic.minikanren/==
WARNING: inc already refers to: #'clojure.core/inc in namespace: logic-tutorial.tut2, being replaced by: #'clojure.core.logic.minikanren/inc
WARNING: reify already refers to: #'clojure.core/reify in namespace: logic-tutorial.tut2, being replaced by: #'clojure.core.logic.minikanren/reify
nil
user=> (in-ns 'logic-tutorial.tut2)

logic-tutorial.tut2=> (run* [q](appendo [1 2] [3 4] q))
()
logic-tutorial.tut2=>(run* [q](appendo [1 2] q [1 2 3 4]))
()
logic-tutorial.tut2=>

@jsofra
Copy link

jsofra commented Jan 11, 2012

appendo is not working for me either, see below:

logic-tutorial.tut2=> (run* [q] /(appendo [1 2] [3 4] q))
()
logic-tutorial.tut2=> (run* [q] /(appendo [1 2] q [1 2 3 4]))
()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants