[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926075: ITP: node-immutable-tuple -- Immutable finite list objects




Package: wnpp
Severity: wishlist
Owner: Jeya Sree <jeyasreepriya@gmail.com>
X-Debbugs-CC: debian-devel@lists.debian.org

* Package name    : node-immutable-tuple
  Version         : 0.4.10
  Upstream Author : Ben Newman <ben@benjamn.com> (https://github.com/benjamn)
* URL             : https://github.com/benjamn/immutable-tuple#readme
* License         : Expat
  Programming Lang: _javascript_
  Description     :  Immutable finite list objects with constant-time
  equality testing (===) and no memory leaks
  This package exports a single function called tuple
   both as a default export and as an equivalent named export, 
   so all of the following import styles will work
 

  1. Immutable objects can allow substantial optimization; this is presumably why strings are also immutable in Java, developed quite separately but about the same time as Python, and just about everything is immutable in truly-functional languages.

  2. In Python in particular, only immutables can be hashable (and, therefore, members of sets, or keys in dictionaries). Again, this afford optimization, but far more than just "substantial" (designing decent hash tables storing completely mutable objects is a nightmare -- either you take copies of everything as soon as you hash it, or the nightmare of checking whether the object's hash has changed since you last took a reference to it rears its ugly head).

 The node-immutable-tuple is a dependency of gitlab
This package uses rollup to build from source. so it is not suitable for embedding
We are the under guidance of Mr.Pirate Praveen as a sponsor.
we are planning to be the  members of _javascript_ maintainers team after some couple of packaging.


Reply to: