Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Nicks-MBP:13:20:20 master*] foo$ CLASSPATH=clojure-1.7.0.jar jython
- Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
- [Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_45
- Type "help", "copyright", "credits" or "license" for more information.
- >>> from clojure.java.api import Clojure
- >>> plus = Clojure.var("clojure.core", "+")
- >>> print plus.invoke(1, 2)
- 3
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement