Re: A Common Lisp format function for Clojure now up

2008-12-22 Thread Josip Gracin
On Mon, Dec 22, 2008 at 8:30 AM, Tom Faulhaber wrote: > You can see/download the current state of it in its github project: > http://github.com/tomfaulhaber/cl-format/ Great job! CL format is a great tool. --~--~-~--~~~---~--~~ You received this message because

Re: A Common Lisp format function for Clojure now up

2008-12-22 Thread Tom Faulhaber
Remco, Right on both counts. I have modified it to use the (or ...) form as you suggest. Thanks, Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@goo

Re: A Common Lisp format function for Clojure now up

2008-12-22 Thread Remco van 't Veer
Good morning Tom, Skimming through the code I found: (defmacro aif [test then-form else-form] `(let [~'it ~test] (if ~test ~then-form ~else-form))) The test form is evaluated twice, probably not what you want. You could replace this macro with an (or ..) form