近日,Clojure开发团队发布了1.7版本,该版本最大的亮点是ransducers 和 reader conditionals。
其中 transducers 可在几种新的和现存的环境中使用:
into - to collect the results of applying a transducer
sequence - to incrementally compute the result of a transducer
transduce - to immediately compute the result of a transducer
eduction - to delay computation and recompute each time
core.async - to apply a transducer while values traverse a channel