发布于 2015-03-08 23:23:27 | 174 次阅读 | 评论: 0 | 来源: 网友投递
Immutable.js 不可变数据集合
Immutable 是 Facebook 开发的不可变数据集合。不可变数据一旦创建就不能被修改,是的应用开发更简单,允许使用函数式编程技术,比如惰性评估。Immutable JS 提供一个惰性 Sequence,允许高效的队列方法链,类似 map 和 filter ,不用创建中间代表。
Immutable 是 Facebook 开发的不可变数据集合。不可变数据一旦创建就不能被修改,是的应用开发更简单,允许使用函数式编程技术,比如惰性评估。Immutable JS 提供一个惰性 Sequence,
允许高效的队列方法链,类似 map
和 filter
,不用创建中间代表。
immutable
通过惰性队列和哈希映射提供 Sequence
, Range
, Repeat
, Map
, OrderedMap
, Set
和一个稀疏 Vector
。
Immutable.js 3.6.4 发布,此版本修复了 Immutable.js 3.6.3 版本 npm 的问题,现已提供下载:https://github.com/facebook/immutable-js/archive/3.6.4.zip。
Immutable.js 3.6.3 改进内容如下:
Bug 修复
Numerous typo fixings. Me spel gud.
Fix collection toString()
when an ES6 Symbol
is a value in the collection.
Consider a prototype-free object a "plain object". Fixes #302
No long enumerates extra key in canDefineProperty
in rare cases in some versions of Chrome