How do I call Foo.class?

2010-04-09 Thread dknesek
How do I invoke Foo.class in Clojure? Specifically, I'm trying to convert this (working) Java to Clojure. service.getEntry(new URL(entryUrl), PortfolioEntry.class); When I do this: (def entry-url-str (str base-url portfolio-feed-url-suffix "/" id)) ; this works (def entry-url (new URL entry-ur

Re: How do I call Foo.class?

2010-04-09 Thread dknesek
So to be clear - I should be able to use: (. getEnrty entry-url PortfolioEntry) Right? P.S. Great Clojure book. On Apr 9, 1:43 pm, Stuart Halloway wrote: > Clojure doesn't make you say "class" to talk about a class: > > String > => class java.lang.String > > Saying "class" takes the class of