Funcional Programming with Clojure (ClojureScript) & Nodejs.
Exercises based on http://xuanji.appspot.com/isicp/1-1-elements.html
- Install NPM Modules
npm install
- Build Node project
Windows
java -cp "cljs.jar;src" clojure.main node.clj
Other
java -cp cljs.jar:src clojure.main node.clj
- Run Node
node main.js
- Install NPM Modules
npm install
- Build Node REPL project
Windows
java -cp "cljs.jar;src" clojure.main node-repl.clj
Other
rlwrap java -cp cljs.jar:src clojure.main node-repl.clj
3.Try evaluating ....
cljs.user=> (require '[exercises.core :as start])
(start/(square-sum-larger 2 8 4))
For more information visit https://github.com/clojure/clojurescript