summary refs log tree commit diff stats
path: root/lib/pure/collections
Commit message (Collapse)AuthorAgeFilesLines
* universal toSeq: works with UFCS; works with inline & closure iterators, and ↵Timothee Cour2018-11-221-30/+130
| | | | | | | | | | | with iterables (#8711) * universal toSeq: works with UFCS; works with inline, closure, and proc iterators, and also non-iterators * support all iterables with toSeq * workaround for #9130
* removes deprecated T/P typesAraq2018-11-167-30/+1
|
* make tests green againAraq2018-11-061-1/+0
|
* added system.typeof operation; fixes #9093Araq2018-10-241-4/+18
|
* Fix OrderedSet.excl (#9287)Oscar Nihlgård2018-10-111-34/+29
|
* better docs for `tables` module (#9221)Miran2018-10-091-176/+190
| | | | | | * better docs for `tables` module * lower case for the first sentence in docs
* Merges #8451 manually. Fixes #8099.Dominik Picheta2018-10-031-1/+1
|
* make sequtils compileAraq2018-08-221-1/+0
|
* make more things compile without isNilAraq2018-08-221-1/+1
|
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-1/+1
|
* make tests green againAraq2018-08-211-4/+1
|
* fixes #7187 sequtils.toSeq produces the sequence from the iterator twice (#8586)Timothee Cour2018-08-161-14/+26
| | | | | * cleanups refs #8584 * fixes #7187
* Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-161-38/+86
|\
| * fixes #8577, fixes #8580, other bug fixes (#8584)Timothee Cour2018-08-141-38/+86
| |
* | make more tests greenAndreas Rumpf2018-08-141-1/+1
| |
* | WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-131-9/+15
|/
* Fix regression for mapIt (#8567)LemonBoy2018-08-081-3/+8
| | | | | | Don't try to be too smart and limit the use of `evalOnce` where strictly needed as not every value can be assigned with a `let`. Fixes #8566
* Make mapIt work on openArray's (#8543)LemonBoy2018-08-071-3/+30
|
* add sets.pop procedure (analogue to python) (#8383)skilchen2018-07-211-0/+12
|
* sequtils: remove some aligning spaces around == to silence warningsskilchen2018-07-211-13/+13
|
* Clarify the docs for tables.del (#8134)Yuriy Glukhov2018-06-271-4/+6
|
* stdlib workZahary Karadjov2018-06-161-6/+51
|
* Removed redundant conditions in CritBitTree.inc, speedup it.data-man2018-06-081-4/+1
|
* Add the val parameter for CritBitTree[T].incl (#7988)Dmitry Atamanov2018-06-081-0/+20
| | | | | | * Add the val parameter for CritBitTree[T].incl * Updated changelog
* Fixed bug in CritBitTree.inc. Fixes #7990.data-man2018-06-071-1/+10
|
* Quote a keys for CritBitTree $ impl. Fixes #7987data-man2018-06-071-4/+8
|
* Fixes CritBitTree.inc's bug (#7838)Dmitry Atamanov2018-05-181-4/+14
| | | | | | * Fixes CritBitTree.inc's bug * Update changelog
* Modify hash for HashSet to use `xor` to mix hash of items.Lolo Iccl2018-05-091-5/+2
|
* Modify previous commit and add testsLolo Iccl2018-05-091-2/+5
|
* Modify previous commitLolo Iccl2018-05-091-4/+8
| | | | | Modify previous commit to use data[h].hcode in proc hash for HashSet and for OrderedSet.
* Add proc hash for HashSet and for OrderedSetLolo Iccl2018-05-091-0/+10
| | | | close #7772
* critbits: don't rely on terminating zeroAndreas Rumpf2018-04-291-3/+4
|
* make more tests greenAndreas Rumpf2018-04-291-2/+2
|
* fix issues #6986 and #7501 (#7513)skilchen2018-04-061-1/+1
|
* Fix documentation link for set type (#7465)Roman Ovseitsev2018-04-031-1/+1
|
* Merge pull request #7075 from lcrees/get_defaultDominik Picheta2018-03-291-13/+80
|\ | | | | Add default argument to tables.getOrDefault
| * Add default argument to 'tables.getOrDefault'lcrees2018-01-131-13/+80
| |
* | more documentation fixesAraq2018-03-051-5/+7
| |
* | Fix toCountTable and newCountTablekonqoro2018-02-211-21/+20
| |
* | fixes #7215Andreas Rumpf2018-02-141-1/+1
| |
* | add more functionality from sets to intsets (#7185)Imran Hendley2018-02-121-21/+156
|/ | | | | | | | | | | | * add more functionality from sets to intsets * remove -+- * < and == performance * don't hardcode s.a.len * remove shortcuts from < and ==
* Fixed mutex usage in SharedList and SharedTable. Closes #6988 (#6990)Yuriy Glukhov2017-12-312-9/+26
|
* Tables: toCountTable: Update docs.Konstantin Molchanov2017-12-271-1/+2
|
* Tables: make `toCountTable` actually count the elements of the input openArray.Konstantin Molchanov2017-12-271-1/+1
|
* Fix counttable smallest loop start (#6917)GULPF2017-12-151-3/+3
| | | | | | * Fix counttable smallest * Fix counttable smallest loop start
* Improved collection-to-string behavior (#6825)Fabian Keller2017-12-145-8/+8
|
* Fix counttable smallest (#6912)GULPF2017-12-131-2/+7
|
* improve the docs for tables.addAraq2017-12-122-0/+5
|
* fix documentation comments in sequtils.nimAndreas Rumpf2017-12-051-2/+2
|
* fix ordered set equality (#6791)andri lim2017-11-241-5/+21
|