? 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 <[email protected]> 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 [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
