-
The library is called `immutable-js` but its examples all show mutations:
``` javascript
var map = Immutable.Map({a:1, b:2, c:3});
map = map.set('b', 20); // mutation
map.get('b'); // 20
…
-
1. Dupe Unspents
https://github.com/dcousens/bip32-wallet/blob/master/src/wallet.js#L126-L141
I think this might be better to be an object rather than an array to prevent a client error to adding …
-
For a framework that enforces a data model composed of immutable data, would it not make sense to enforce immutability for the event payloads?
A common pattern, when updating a store, is to set or de…
-
For example, Vector inherits #slice from Sequence and Sequence#slice always returns a sequence. This means that you cant:
```
var vec2 = vec1.slice(0, 4).push(3);
```
Instead you have to:
```
var …
-
Should the following code example log `true`? On 2.0.4 it's logging `false` for me. Am I doing something wrong?
``` coffee
vector = Immutable.Vector(1, 2, 3)
a = vector.splice(1, 1, 'a', 'b')
b = vec…
-
I've noticed that the revision of xenoflora on paradise is really old (though has some customizations), and I dunno maybe someone might want to get around to updating it?
I'm not sure which of these r…
-
**Use case:**
Create a subset of a Vector based on max vector length constraint.
**Observation:**
Using different techniques results in different objects. For example, using `vector.shift()` returns …
-
Either I am nit-picking or misunderstand the readme, but these two methods are listed as examples that would normally mutate a collection under "JavaScript-first API".
-
Seems like this should be reasonably easy to do recursively though I haven't thought through many cases.
```
> var map = immutable.Map({key: immutable.Set('x')})
> var map2 = map.mergeDeep({key: immu…
-
Checkout @davidchambers' [nucleotides](https://github.com/davidchambers/nucleotides) for a potentially better implementation of the invoker pattern. Might be worthwhile to port it for `math` and `invo…