Hugh FD Jackson
Hugh FD Jackson
isImmutable is a problematic predicate, since primitives and frozen objects _are_ immutable, just not the spawn of this library.
A test case to make it obvious what the semantics of, for the pleasure of mr @ljharb ``` javascript var a = require('assert') var im = require('..') describe('immutable', function(){ describe('isImmutable',...
Candidate names: - im.is - im.isImmutableCollection - im.instance - im.isInstance - im.spawns - im.produces
@ljharb : convincingFake is meant to be convincing - in that it's an object that adheres to the interface required of an immutable object. I want to make sure that...
Am going with isImmutableCollection, since that's the best description of the interface I can come up with. Can always be aliased later :D
I assume that this is because it's a reserved word; not valid as an identifierName (i.e. the name of a property) until es5: http://es5.github.com/#x7.6.1.
To test, I've replaced the definition of gen-keys/.words with something that creates a list of ints (which means that we can expect keys to be hashed). I've memoized the hash...
+1
This may or may not be constrained by ci.testling's reliability :/
@Raynos I don't see any any inherent barrier to i6 + adoption; although i may have to change the API not to use 'transient', since es3 put that on the...