You can look up the documentation for a function/macro interactively
from the repl:

user=> (doc ->)
-------------------------
clojure.core/->
([x form] [x form & more])
Macro
  Threads the expr through the forms. Inserts x as the
  second item in the first form, making a list of it if it is not a
  list already. If there are more forms, inserts the first form as the
  second item in second form, etc.
nil

On Dec 29, 8:27 pm, wubbie <[email protected]> wrote:
> Hi all,
>
> Looking into ants.clj, I came across
> (defn place [[x y]]
>   (-> world (nth x) (nth y)))
>
> What -> mean here?
>
> thanks
> sun
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to