by S4M · 10y ago · 0 comments
(let ((my-java-class
(java public class MyClass {
public MyClass() {}
public myMethod() {System.out.println("hello");}
})))
(myMethod (my-java-class)))
And it shows on the REPL: hello
That's quite impressive, and I can see how it opens new horizons.Perhaps another interesting observation is that what I'm building today is not actually what I originally set out to do, which was more limited in scope. Perhaps another weakness of CL is its tendency to seduce you into feature-creepism. :)