You are wrong. Many writings use ,, as a place-holder for where -> is
placing the argument. Take Meikel's example above:

    (foo (bar (baz (frobnicate a-thing)) bla))

Becomes

    (-> a-thing frobnicate baz (bar bla) foo)

So bar is a function of more than one argument. Re-written with place-
holders it would be:

    (-> a-thing (frobnicate ,,) (baz ,,) (bar ,, bla) (foo ,,))

Does that make it more clear?

-Drew

On Feb 28, 9:39 pm, Joshua Fox <joshuat...@gmail.com> wrote:
> ->  confuses me: Does it treat functions with multiple parameters different
> from functions with one parameter? Am I right that it can only be used with
> the latter?
> Joshua
--~--~---------~--~----~------------~-------~--~----~
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
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