(Moderators ... resending this, sorry if it's already in the queue)
Hi,
I'd like to be able to use the *are* testing macro like this:
(are [input]
(= input (myfun input))
*my-input-data*)
But this doesn't work; the args are expected to be listed on-by-one,
not in a list:
(defmacro are
[ar
Hi,
I'm trying to write a java class in clojure, and then call it from
java. But I keep getting IllegalArgumentExceptions.
file hello.clj:
(ns hello
(:gen-class
:methods [ [fooMeth [] String]])
)
(defn -fooMeth [] "fooMeth")
file TestIt2.java:
public class TestIt2 {
public st
Ah, thank you! I guess that makes sense. But it doesn't seem to be
documented directly anywhere, though the examples at
http://clojure.org/compilation
do show the need to do this.
Dan
On Feb 28, 7:10 am, Adrian Cuthbertson
wrote:
> Hi Dan, you need to include an arg for "this" in -fooMeth, i.e