2008/12/1 Michael Wood <[EMAIL PROTECTED]>

> I think his point is that if he gets an "Unable to resolve symbol:
> Polygon" error and also an "Unable to resolve symbol: Point2D" error
> then he still has to figure out which one is in java.awt and which is
> in java.awt.geom.  He wants a tool to spit out the list of required
> imports so he doesn't have to remember exactly where they all are.  If
> there are conflicts, then the tool wouldn't have to guess.  It could
> just note the conflict for manual resolution.
>

Yeah, I realise my crude example isn't really what Martin was after.

I was thinking about how you would do this sort of thing in Clojure via
analysing ns-interns and ns-imports, then I realised there won't be any vars
in ns-interns where the class of the var being defined is unresolved!

So how would you write such a tool in Clojure?   Hook into the exception
maybe?  Hmm, I'm not sure...

Paul.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to