Commit graph

134 commits

Author SHA1 Message Date
dumndummer
c19fb7b366 Update sequtils.nim
Renamed param name 'pred' to 'op' in mapIt template to better correspond with map proc in system module
2015-01-28 21:44:52 +00:00
Araq
f7dca91344 fixes #619 2014-11-15 11:10:13 +01:00
Araq
595cc93762 recursive tuple types are now invalid (breaking change) 2014-10-02 16:54:05 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
def
61a6ecfd94 Move newSeqWith to sequtils 2014-08-11 21:05:21 +02:00
Andreas Rumpf
188df67677 Merge pull request #1377 from sjakobi/patch-1
sequtils: Correct documentation for keepIf proc
2014-07-19 12:49:31 +02:00
Simon Jakobi
78b56bf7dc sequtils: Complete mapIt documentation example 2014-07-19 00:09:47 +02:00
Simon Jakobi
4c4ebc93d7 sequtils: Correct documentation for keepIf proc 2014-07-18 23:51:17 +02:00
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
def
92e958b654 Add keepIf proc and keepIfIt template to sequtils 2014-06-22 23:15:53 +02:00
Grzegorz Adam Hankiewicz
c3cb03c640 Renames split to distribute. Refs #1084. 2014-04-13 10:50:27 +02:00
Grzegorz Adam Hankiewicz
fac9947ebe Adds generic split proc to sequtils. 2014-04-11 22:24:49 +02:00
Grzegorz Adam Hankiewicz
700f32e814 Adds convenience mapIt templates. 2014-02-02 17:37:06 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Varriount
ea92682b98 Apply changes suggested by Araq
Added documentation examples, added defaults
2013-10-27 03:44:55 -04: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
Grzegorz Adam Hankiewicz
e4c3515baf Fixes the dirtyness of the filterIt template. Refs #351. 2013-03-17 12:14:27 +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
Grzegorz Adam Hankiewicz
abca30cc06 Adds note about distnct being misspelled on purpose. 2013-01-09 20:32:58 +01:00
Grzegorz Adam Hankiewicz
1757baecaf Adds documentation examples to sequtils. 2013-01-09 20:32:58 +01:00
Grzegorz Adam Hankiewicz
6e65f5b49e Hyperlinks each proc and explains it is like map. 2013-01-09 20:32:57 +01:00
Grzegorz Adam Hankiewicz
bd961fd76c Moves toSeq template to public sequtils module. 2013-01-03 22:38:56 +01:00
Araq
f893179889 documented hygienic templates; made tests green; fixed system.clamp 2012-08-22 22:46:02 +02:00
Araq
0cac8d9b6f made tests green again 2012-08-16 19:05:38 +02:00
Araq
8d99753d63 preparations for making 'closure' the default calling convention for proc types 2012-07-16 23:00:57 +02:00
Zahary Karadjov
72f2a6e275 the test suite is mostly green again 2012-03-16 05:33:21 +02:00
Araq
dc08a033d9 memfiles now uses winlean; changed the interface to raise EOS 2011-11-05 12:16:49 +01:00
Araq
0e7f2ca3f1 bugfixes; added events module, sequtils module 2011-07-26 00:46:41 +02:00