Commit Graph

87 Commits

Author SHA1 Message Date
Andreas Rumpf
dc15d37db0 Merge pull request #1301 from def-/sequtils-filter-directly
Add keepIf proc and keepIfIt template to sequtils
2014-06-30 18:33:50 +02:00
Reimer Behrends
cbcf01fc06 Rename sequtils.distnct to sequtils.deduplicate. 2014-06-28 19:18:13 +02:00
def
f6c4864f9f Rename keepIfIt to keepItIf 2014-06-28 14:39:21 +02:00
Felix Krause
ac3f872fa3 Fixed TSet proc names to conform with set 2014-06-26 20:55:46 +02:00
Felix Krause
84643abd3e Fixed doc comments in sets.nim 2014-06-26 20:55:46 +02:00
Felix Krause
bdd3b6c612 Added logical set operations to TSet 2014-06-25 22:07:28 +02:00
def
92e958b654 Add keepIf proc and keepIfIt template to sequtils 2014-06-22 23:15:53 +02:00
Andreas Rumpf
d927eb5854 Merge pull request #1251 from gradha/pr_misc_docs
Misc docs suggestions
2014-06-12 16:39:20 +02:00
Araq
9354b8a9d7 added allValues iterator 2014-06-12 14:45:56 +02:00
Grzegorz Adam Hankiewicz
af6abac491 Revert "Adds to tables module example of reference type vs value type."
This reverts commit bde9d1ac07.
2014-06-10 00:39:19 +02:00
Grzegorz Adam Hankiewicz
bde9d1ac07 Adds to tables module example of reference type vs value type. 2014-06-06 20:18:19 +02:00
Grzegorz Adam Hankiewicz
9009841d62 Avoids temporal string in tables hashing example. 2014-06-06 19:53:39 +02:00
Clay Sweetser
93fa75bb07 Fixed #1172 (for real) 2014-06-01 17:40:06 -04:00
Clay Sweetser
05953381e9 Fix assertion in queues.dequeue 2014-05-24 08:41:12 -04:00
Reimer Behrends
79891b6b9b Added support for ref type hash tables.
This reuses the hash table implementation for objects (and the
associated tests). For efficiency reasons, iterator implementations
are currently adapted rather than calling the TTable code.
2014-05-04 15:22:50 +02:00
Grzegorz Adam Hankiewicz
15bd91a5da Adds example of custom object types used as table key. 2014-04-22 09:37:24 +02:00
Dominik Picheta
00dc93b65b Fixes collections/ttables. 2014-04-18 21:50:51 +01:00
Simon Hafner
bb94abd88a Merge pull request #1084 from gradha/pr_adds_sequtils_split
Adds generic split proc to sequtils.
2014-04-13 15:08:25 -05:00
Grzegorz Adam Hankiewicz
c3cb03c640 Renames split to distribute. Refs #1084. 2014-04-13 10:50:27 +02:00
Andreas Rumpf
455c3c19ca added mget for TSet 2014-04-13 00:33:06 +02:00
Andreas Rumpf
3ee25170c3 fixes '==' for TTTable 2014-04-13 00:22:07 +02:00
Andreas Rumpf
587f0bd086 fixes '==' for TTTable 2014-04-13 00:20:25 +02:00
Grzegorz Adam Hankiewicz
fac9947ebe Adds generic split proc to sequtils. 2014-04-11 22:24:49 +02:00
Simon Hafner
e8c87d070a fixed a bug in map for sets 2014-02-10 13:02:47 -06:00
Simon Hafner
0b5c14962e added map to sets 2014-02-10 12:44:44 -06:00
Simon Hafner
5498415f3b indexBy, which indexes a collection into a hashtable 2014-02-06 16:11:55 -06:00
Grzegorz Adam Hankiewicz
700f32e814 Adds convenience mapIt templates. 2014-02-02 17:37:06 +01:00
Simon Hafner
9f29bb8d9e corrected docs and tests 2014-02-01 16:07:44 -06:00
Simon Hafner
2c5a2d07fb sets equivalence 2014-01-31 18:22:27 -06:00
Araq
fc452787e7 better html generator for the tester; fixes some VM bugs 2014-01-17 01:18:57 +01:00
Araq
346443d1b5 case consistency improvements 2014-01-11 21:56:05 +01:00
Araq
7e0da3e8f7 case consistency part 7 2013-12-28 01:36:35 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Andreas Rumpf
528f972d17 Merge pull request #631 from mflamer/master
LockFree Hash Table 0.1
2013-10-31 13:43:19 -07:00
Varriount
ea92682b98 Apply changes suggested by Araq
Added documentation examples, added defaults
2013-10-27 03:44:55 -04:00
Mark Flamer
6fbc96fec4 LockFree Hash Table 0.1 2013-10-22 14:24:38 -07:00
Clay Sweetser
314e526f75 Added an insertion function that inserts elements of an openarray.
Added a deletion function that allows elements between two positions in a sequence to be deleted
2013-10-20 13:06:07 -04:00
Araq
9b9a180947 'inject' for 'for' loop variables 2013-05-14 00:41:07 +02:00
Araq
af7e862a06 Merge pull request #365 from gradha/pr_adds_mention_of_nextPowerOfTwo_proc
Mentions nextPowerOfTwo proc for table initialization.
2013-03-17 08:15:15 -07:00
Grzegorz Adam Hankiewicz
1bd12e208b Mentions nextPowerOfTwo proc for table initialization. 2013-03-17 12:19:40 +01:00
Grzegorz Adam Hankiewicz
e4c3515baf Fixes the dirtyness of the filterIt template. Refs #351. 2013-03-17 12:14:27 +01:00
Araq
29d0a774e9 Merge pull request #362 from gradha/pr_adds_fold_templates_to_sequtils
Adds fold templates to sequtils
2013-03-16 17:15:20 -07:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Grzegorz Adam Hankiewicz
72728679a8 Adds foldl and foldr templates to sequtils. 2013-03-16 22:58:20 +01:00
Grzegorz Adam Hankiewicz
e28674c10b Indents documentation tests with blocks for hygiene. 2013-03-16 22:09:31 +01:00
Grzegorz Adam Hankiewicz
91700f29e7 Renames each proc to map, each is left deprecated. 2013-01-22 21:41:26 +01:00
Araq
7b5b9656f5 fixes sequtils.filterIt 2013-01-19 12:33:07 +01:00
Araq
b3e70febb4 'sort' for ordered tables 2013-01-12 23:59:29 +01:00
Araq
1874179f20 Merge branch 'master' of github.com:Araq/Nimrod 2013-01-11 01:09:54 +01:00