Thanks a lot. Now I see. :)
On 11월10일, 오후9시23분, mb <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 10 Nov., 12:48, Chanwoo Yoo <[EMAIL PROTECTED]> wrote:
>
> > (ns test
> > (->:import "import org.apache.http.HttpVersion; import
> > org.apache.http.http.client.HttpClient"))
>
> ns is itself a macro, which treats the :import, :use, :require and
> :refer-clojure clauses specially. Since it does not evaluated the
> clauses, and hence doesn't expand the ->:import macro, it sees
> the ->:import literally. You will have to stick with ->import and
> use it after the ns.
>
> (ns test)
> (->import "import org.apache.http.HttpVersion; import
> org.apache.http.http.client.HttpClient"))
>
> Sincerely
> Meikel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---