I actually preferred your solution, pericles, because it doesn't require memorising the "[L...;" syntax, and works if you don't know the class at compile time. By the way you can use make-array to create a zero size array which might be (ever so slightly) more efficient.
For reference (apologies if you already knew this), the class name syntax is outlined here: https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html#getName-- and for the full details https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.9.1 -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.