2009/3/24 Mark Volkmann <[email protected]>:
>
> Thanks! It looks like I don't need the let now. Does a macro have to
> evaluate to one form? For example, this works, but it seems I can't
> drop the do.
>
> (defmacro dump [expr]
>  `(do
>     (print (quote ~expr))
>     (println " =" ~expr)))

How about:

(defmacro dump [expr]
 `(println '~expr "=" ~expr))

> R. Mark Volkmann

-- 
  ! Lauri

--~--~---------~--~----~------------~-------~--~----~
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