Clojure 1.3 发布了,该版本改进包括:
1 Deprecated and Removed Features 1.1 Earmuffed Vars are No Longer Automatically Considered Dynamic 1.2 ISeq No Longer Inherits from Sequential 1.3 Removed Bit Operation Support for Boxed Numbers 1.4 Ancillary Namespaces No Longer Auto-Load on Startup 1.5 Replicate Deprecated 2 New/Improved Features 2.1 Enhanced Primitive Support 2.2 defrecord and deftype Improvements 2.3 Better Exception Reporting 2.4 clojure.reflect/reflect 2.5 clojure.data/diff 2.6 clojure.core/every-pred and clojure.core/some-fn Combinators 2.7 clojure.core/realized? 2.8 clojure.core/with-redefs-fn & with-redefs 2.9 clojure.core/find-keyword 2.10 clojure.repl/pst 2.11 clojure.pprint/print-table 2.12 pprint respects *print-length* 2.13 compilation and deployment via Maven 2.14 internal keyword map uses weak refs 2.15 ^:const defs 2.16 Message Bearing Assert 2.17 Error Checking for defmulti Options 2.18 Removed Checked Exceptions 2.19 vector-of Takes Multiple Arguments 2.20 deref with timeout 2.21 Walk Support for sorted-by Collections 2.22 string.join Enhanced to Work with Sets 2.23 clojure.test-helper 2.24 Newline outputs platform-specific newline sequence 2.25 init-proxy and update-proxy return proxy 2.26 doc & find-doc moved to REPL 2.27 clojure.java.shell/sh accepts as input anything that clojure.java.io/copy does 2.28 InterruptedHandler Promoted to clojure.repl 2.29 Add support for running -main namespaces from clojure.main 2.30 Set thread names on agent thread pools 2.31 Add docstring support to def 2.32 Comp function returns identity when called with zero arity 2.33 Type hints can be applied to arg vectors 2.34 Binding Conveyance 3 Performance Enhancements 4 Bug Fixes 5 Modular Contrib
详细内容: https://github.com/clojure/clojure/blob/1.3.x/changes.txt
Clojure是一种LISP风格的语言,运行在JVM上。Clojure的一大特色就是其并发机制,它支持不可变的数据结构(Clojure是来自于可持久化的数据结构)。Clojure还有一个特色是
软件事务存储
(Software Transactional Memory,STM),其支持用事务代替锁和互斥器来更新共享内存。STM还是一个有争议的技术,还需要更好的证明自己,一个简单的办法就是访问一个JVM上的实现。
时间:2011-09-25 14:14
来源:开源中国社区
作者:开源中国社区
原文链接