On Jun 24, 12:28 pm, Four of Seventeen <fsevent...@gmail.com> wrote:
> user=> (defmacro nanotime [& body] `(let [start (System/nanotime)]
> ~...@body (- (System/nanotime) start)))
> #'user/nanotime

user=> (defmacro nanotime [& body] `(let [start# (System/nanotime)]
~...@body (- (System/nanotime) start#)))
#'user/nanotime

Not sure how the # signs got dropped making that first post, but I'm
pretty sure it won't work without them.

--~--~---------~--~----~------------~-------~--~----~
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
Note that posts from new members are moderated - please be patient with your 
first post.
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