Skip to content

Instantly share code, notes, and snippets.

@xuwei-k
Created October 26, 2011 06:49
Show Gist options
  • Save xuwei-k/1315639 to your computer and use it in GitHub Desktop.
Save xuwei-k/1315639 to your computer and use it in GitHub Desktop.
Scala から Clojure 使う
libraryDependencies ++= Seq(
"org.clojure" % "clojure" % "1.3.0"
)
import clojure.lang.{RT,Compiler}
object Main{
def main(args:Array[String]){
println(Compiler.eval(RT.readString("(+ 1 2 3 4)")))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment