Clojure的发音和单词closure是一样的.Clojure之父是这样解释Clojure名字来历的 “我想把这就几个元素包含在里面: C (C#), L (Lisp) and J (Java). 所以我想到了 Clojure, 而且从这个名字还能想到closure;它的域名又没有被占用;而且对于搜索引擎来说也是个很不错的关键词,所以就有了它了.” http://xumingming.sinaapp.com/302/clojure-functional-programming-for-the-…
Learn X in Y minutes Where X=clojure Get the code: learnclojure.clj Clojure is a Lisp family language developed for the Java Virtual Machine. It hasa much stronger emphasis on purefunctional programming thanCommon Lisp, but includes severalSTM utilit…
http://stackoverflow.com/questions/1314732/scala-vs-groovy-vs-clojure Groovy is a dynamically typed language, whose syntax is very close to Java, with a number of syntax improvements that allow for lighter code and less boilerplate. It can run throug…
do和块语句 在Scala中,花括号{}括起来的语句构成一个block,它的值就是最后一个语句的值. scala> val a = { | println("a") | 1} a a: Int = 1 {println("a"); 1}的值为1. 在Clojure中,有时需要使多个form组成一个block, 这个block的值是最后一个form的值.这时候就用do user=> (def a (do (println "a") 1)…
OS: Mac OS X 10.10 IDEA 14.0.2 Community Edition 安装Leiningen 按照http://leiningen.org/的指南安装lein 阅读Leiningen教程中文版了解leiningen 如果需要使用代理,需要执行 export HTTPS_PROXY=host:port export HTTP_PROXY=host:port (当执行lein deps时,如果也需要使用代理,得export https_proxy以及export http…