On Wednesday 17 December 2008 06:21, Meikel Brandmeyer wrote:
> Hi Randall,
>
> On 17 Dez., 15:12, Randall R Schulz <rsch...@sonic.net> wrote:
> > user=> (dcmfail)
> > java.lang.IllegalArgumentException: Unable to resolve classname:
> > BufferedWriter (repl-1:2)
>
> This doesn't help, I know, but it works for me.
>
> What does macroexpand say for your macros? See below
> link for the Chouserian form for macro help:

I was just going to add that:

user=> (macroexpand '(dcmfail))
(new BufferedWriter (FileWriter. "stand-back"))

I'm guessing it works for you 'cause in the macro expansion context you 
have an import in effect. I (use ...) the module bearing the failing 
macro definition (and Java class imports) but don't have an 
(import ...) in force for those Java classes in the expansion context.


> http://clojure-log.n01se.net/macro.html
>
> Sincerely
> Meikel


Randall Schulz

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