? isn't an operator, it is part of a function's name.

user=> (doc pos?)
-------------------------
clojure.core/pos?
([x])
  Returns true if num is greater than zero, else false
nil
user=>

Hope that helps!
Alex

On Thu, May 19, 2011 at 8:09 AM, octopusgrabbus
<octopusgrab...@gmail.com> wrote:
> Given the following function
>
>
> (defn proint-down-from [x]
>    (when (pos? x)
>        (println x)
>        (recur (dec x))))
>
> What role does the ? operator play. It looks like it is creating a
> variable name.
> Thanks.
>
> --
> 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

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