You only use ? when dealing with the pattern matching sugar.

On Friday, October 7, 2011, Sunil S Nandihalli <sunil.nandiha...@gmail.com>
wrote:
> Hi,
>  I was looking through the core.logic readme file. I notice that the
var-names (symbols) are prefixed with '?' at some locations and they are not
at some other locations. Can somebody help me figure this out.
> Please look at the readme file found at
> https://github.com/clojure/core.logic
>
> (use '[clojure.core.logic minikanren prelude nonrel match])
>
> (defna findo [x l o]
>   ([_ [[?y :- o] . _] _]
>     (project [x ?y] (== (= x ?y) true)))
>   ([_ [_ . ?c] _] (findo x ?c o)))
>
> (defn typedo [c x

-- 
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