Oscar Nihlgård
|
291d7499a4
|
Fix OrderedSet.excl (#9287)
(cherry picked from commit eade49d7a7)
|
2018-11-01 17:31:56 +01:00 |
|
Miran
|
46f0c7c554
|
better docs for tables module (#9221)
* better docs for `tables` module
* lower case for the first sentence in docs
(cherry picked from commit 98a8868cb4)
|
2018-11-01 17:28:42 +01:00 |
|
Dominik Picheta
|
269b957e29
|
Merges #8451 manually. Fixes #8099.
|
2018-10-03 21:25:11 -07:00 |
|
Araq
|
b9a1816009
|
make sequtils compile
|
2018-08-22 22:48:49 +02:00 |
|
Araq
|
dbd21d670c
|
make more things compile without isNil
|
2018-08-22 15:12:02 +02:00 |
|
Araq
|
64517445ea
|
even more strict isNil handling for strings/seqs in order to detect bugs
|
2018-08-22 12:35:46 +02:00 |
|
Araq
|
f12a5431a1
|
make tests green again
|
2018-08-21 20:33:47 +02:00 |
|
Timothee Cour
|
af037546b0
|
fixes #7187 sequtils.toSeq produces the sequence from the iterator twice (#8586)
* cleanups refs #8584
* fixes #7187
|
2018-08-16 23:19:36 +02:00 |
|
Andreas Rumpf
|
e4c759fbff
|
Merge branch 'devel' into araq-misc
|
2018-08-16 01:22:21 +02:00 |
|
Andreas Rumpf
|
94684488d6
|
make more tests green
|
2018-08-14 21:15:03 +02:00 |
|
Timothee Cour
|
ed9fd2b63c
|
fixes #8577, fixes #8580, other bug fixes (#8584)
|
2018-08-14 10:44:28 +02:00 |
|
Andreas Rumpf
|
dae5450947
|
WIP: disallow 'nil' for strings and seqs
|
2018-08-13 11:41:33 +02:00 |
|
LemonBoy
|
32b62097a2
|
Fix regression for mapIt (#8567)
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
|
2018-08-08 15:34:21 +02:00 |
|
LemonBoy
|
ba5e2d6fcb
|
Make mapIt work on openArray's (#8543)
|
2018-08-07 18:45:27 +02:00 |
|
skilchen
|
8fe8bed9c3
|
add sets.pop procedure (analogue to python) (#8383)
|
2018-07-21 19:51:14 +02:00 |
|
skilchen
|
57f4a5d429
|
sequtils: remove some aligning spaces around == to silence warnings
|
2018-07-21 19:16:05 +02:00 |
|
Yuriy Glukhov
|
e66b7f3909
|
Clarify the docs for tables.del (#8134)
|
2018-06-27 22:25:22 +02:00 |
|
Zahary Karadjov
|
7ab1aafc6b
|
stdlib work
|
2018-06-16 16:46:32 +03:00 |
|
data-man
|
3e799d7876
|
Removed redundant conditions in CritBitTree.inc, speedup it.
|
2018-06-08 19:29:19 +03:00 |
|
Dmitry Atamanov
|
fbd91a474a
|
Add the val parameter for CritBitTree[T].incl (#7988)
* Add the val parameter for CritBitTree[T].incl
* Updated changelog
|
2018-06-08 12:01:40 -04:00 |
|
data-man
|
12f929e582
|
Fixed bug in CritBitTree.inc. Fixes #7990.
|
2018-06-07 19:29:40 +03:00 |
|
data-man
|
aa7348b356
|
Quote a keys for CritBitTree $ impl. Fixes #7987
|
2018-06-07 18:39:46 +03:00 |
|
Dmitry Atamanov
|
06bdf8392b
|
Fixes CritBitTree.inc's bug (#7838)
* Fixes CritBitTree.inc's bug
* Update changelog
|
2018-05-18 21:13:29 +02:00 |
|
Lolo Iccl
|
af591544c5
|
Modify hash for HashSet to use xor to mix hash of items.
|
2018-05-09 17:41:41 +02:00 |
|
Lolo Iccl
|
5c7b66e07a
|
Modify previous commit and add tests
|
2018-05-09 17:41:41 +02:00 |
|
Lolo Iccl
|
ee8313da3f
|
Modify previous commit
Modify previous commit to use data[h].hcode in
proc hash for HashSet and for OrderedSet.
|
2018-05-09 17:41:41 +02:00 |
|
Lolo Iccl
|
80f17f9405
|
Add proc hash for HashSet and for OrderedSet
close #7772
|
2018-05-09 17:41:41 +02:00 |
|
Andreas Rumpf
|
c8b2e65dbb
|
critbits: don't rely on terminating zero
|
2018-04-29 07:42:47 +02:00 |
|
Andreas Rumpf
|
b899713832
|
make more tests green
|
2018-04-29 01:48:21 +02:00 |
|
skilchen
|
9bacdd64c1
|
fix issues #6986 and #7501 (#7513)
|
2018-04-06 10:24:58 +02:00 |
|
Roman Ovseitsev
|
17d0e29d40
|
Fix documentation link for set type (#7465)
|
2018-04-03 10:39:17 +02:00 |
|
Dominik Picheta
|
082b071683
|
Merge pull request #7075 from lcrees/get_default
Add default argument to tables.getOrDefault
|
2018-03-29 11:41:25 +01:00 |
|
Araq
|
a9974a33f1
|
more documentation fixes
|
2018-03-05 23:25:50 +01:00 |
|
konqoro
|
b0637bc373
|
Fix toCountTable and newCountTable
|
2018-02-21 13:22:41 +02:00 |
|
Andreas Rumpf
|
89782460a3
|
fixes #7215
|
2018-02-14 10:09:35 +01:00 |
|
Imran Hendley
|
df4f707743
|
add more functionality from sets to intsets (#7185)
* add more functionality from sets to intsets
* remove -+-
* < and == performance
* don't hardcode s.a.len
* remove shortcuts from < and ==
|
2018-02-12 21:20:17 +01:00 |
|
lcrees
|
1e55d92009
|
Add default argument to 'tables.getOrDefault'
|
2018-01-13 16:06:08 -07:00 |
|
Yuriy Glukhov
|
d1e10f9aa3
|
Fixed mutex usage in SharedList and SharedTable. Closes #6988 (#6990)
|
2017-12-31 09:28:51 +01:00 |
|
Konstantin Molchanov
|
b592f069bb
|
Tables: toCountTable: Update docs.
|
2017-12-27 13:44:47 +04:00 |
|
Konstantin Molchanov
|
c36d7ffc7c
|
Tables: make toCountTable actually count the elements of the input openArray.
|
2017-12-27 13:30:32 +04:00 |
|
GULPF
|
cf9bee1702
|
Fix counttable smallest loop start (#6917)
* Fix counttable smallest
* Fix counttable smallest loop start
|
2017-12-15 13:59:32 +01:00 |
|
Fabian Keller
|
6df6ec27ec
|
Improved collection-to-string behavior (#6825)
|
2017-12-14 14:02:13 +01:00 |
|
GULPF
|
542d45f882
|
Fix counttable smallest (#6912)
|
2017-12-13 02:52:35 +01:00 |
|
Araq
|
6f8e98cff2
|
improve the docs for tables.add
|
2017-12-12 19:55:46 +01:00 |
|
Andreas Rumpf
|
6ee08cf70c
|
fix documentation comments in sequtils.nim
|
2017-12-05 13:53:18 +01:00 |
|
andri lim
|
42666a5d6d
|
fix ordered set equality (#6791)
|
2017-11-24 14:43:49 +01:00 |
|
Andreas Rumpf
|
58187f2120
|
added a warning that the .deprecate statement is unreliable for routines
|
2017-11-21 11:27:35 +01:00 |
|
Andreas Rumpf
|
5ccf69ffa3
|
cleaned up macros.nim
|
2017-11-19 13:23:04 +01:00 |
|
Andreas Rumpf
|
908a25a2ca
|
replaced asArray with a much more powerful mapLiterals macro
|
2017-11-18 14:18:00 +01:00 |
|
Andreas Rumpf
|
6976bf20f5
|
Use 'typedesc' instead of 'untyped'
|
2017-11-18 14:18:00 +01:00 |
|