I am familiar that scala classes / objects can be called from clojure, as scala compiles to bytecode, and clojure is comfortable with it.
However is it as painless calling clojure functions, and importing namespaces from scala ?
I would like to mix the excellent lift framework and clojure, basically call clojure code from lift.
Semantics for imports in Scala are basically the same as Java. You should be able to get the info you need by reading up on how to invoke Clojure code from Java, then apply the same principles in Scala.
If you want to compile your Clojure code and include it as a JAR in your classpath then this post should be relevant:
Calling Clojure from Java
If you'd rather dynamically compile/interpret the .clj files then you should read this:
Clojure Programming: Invoking Clojure from Java
The first option seems a lot nicer to me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With