On Feb 18, 5:57 pm, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> When trying your code, I encounter the same problem ...
>
> ... but what is the compiler error telling us ?
>
> [clojure.lang.AFn] is not a class ?
>
> ... maybe clojure.lang.AFn is !
>
> Let's try
>
> (gen-class
> :name xg.gf.GenericFunction
> :extends clojure.lang.AFn
> )
>
> (get rid of the square brackets !)
>
> It's sometimes weird how we just want to see what we want to see ! It took
> me almost 10 minutes to find what was just in front of me ! :-)
Se what's in front of you this time :-)
I remove the brackets and get a different error:
java.io.IOException: No such file or directory (gf.clj:7)
[Thrown class clojure.lang.Compiler$CompilerException]
--~--~---------~--~----~------------~-------~--~----~
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
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---