On Mar 26, 1:34 pm, Victor Rodriguez <vict...@gmail.com> wrote:
> (defmacro with-out-as
>   [f & body]
>   `(with-open [w# (writer ~f)]
>      (binding [*out* w#]
>       �...@body)))

I've added something very similar to this to clojure.contrib.duck-
streams.

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