One place where interop needs improvement: imports.
This is ridiculous:
#CompilerException java.lang.ClassNotFoundException: java.awt
(NO_SOURCE_FILE:0)
sandbox=
#CompilerException java.lang.ClassCastException:
clojure.lang.LazilyPersistentVector cannot be cast to clojure.lang.Symbol
John Harrop wrote:
1: Improvements to the ns macro, such as described in a previous thread.
Particularly I'd like to see
(:import package class class class)
work. This fits with normal Clojure syntax. Right now it wants an extra
pair of parentheses, does not accept a vector(!), and
John Harrop wrote:
On Sat, Nov 21, 2009 at 9:03 PM, Alex Osborne a...@meshy.org
(:import package1 class class class) (:import package2 class class)
I am. Especially since the latter already works.
Alternatively, force (or at least allow!) square brackets, like
elsewhere in Clojure
On Sat, Nov 21, 2009 at 11:43 PM, Alex Osborne a...@meshy.org wrote:
John Harrop wrote:
On Sat, Nov 21, 2009 at 9:03 PM, Alex Osborne a...@meshy.org
(:import package1 class class class) (:import package2 class class)
I am. Especially since the latter already works.
Alternatively,