Hi,

I'm sorry. I wanted to answer you but it somehow got lost.

Am 05.01.2009 um 23:00 schrieb wubbie:

Why are there multiple  "Logging str" output.

As Michael already said, it's because the originial str
calls itself recursively.

Here is a thread, which explains this in more detail.

http://groups.google.com/group/clojure/tree/browse_frm/thread/63ff934f1a2d4afd/0e97295c76f057e3?rnum=1&q=binding+str+logging&_done=%2Fgroup%2Fclojure%2Fbrowse_frm%2Fthread%2F63ff934f1a2d4afd%2F0e97295c76f057e3%3Flnk%3Dgst%26q%3Dbinding%2Bstr%2Blogging%26#doc_4e855da814b45e0b

Also  in (apply str-orig args), I don't see any args passed at all!

Again: as Michael already said, the list of arguments to str-orig
is contained in args.

(apply str-orig [:a :b :c]) <=> (str-orig :a :b :c)

Only the last argument to str-orig must be a sequable thing, like
a vector or a list. Any arguments given directly are inserted before
the arguments form the list.

(apply str-orig 1 2 [:a :b :c]) <=> (str-orig 1 2 :a :b :c)

Sincerely
Meikel


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to