Whoops, I forgot to translate the literal list syntax to [] vector syntax.

user=> (run 2 [q]
            (exist [x y z]
                   (conde
                     ((== [x y z x] q))
                     ((== [z y x z] q)))))
([_.0 _.1 _.2 _.0] [_.0 _.1 _.2 _.0])

Still puzzled at the semantics of conde.

>From the paper:

We use conde to get several values--syntactically, conde looks like cond but
> without => or else.


What does it mean by "get" several values?

Thanks,
Ambrose

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to