rbmz
|
4548c1aa9b
|
added all/any/allIt/anyIt with tests and inline documentation
Signed-off-by: rbmz <rbmz@users.noreply.github.com>
|
2015-10-13 01:10:25 -03:00 |
|
Peter Mora
|
6318f77821
|
restore {.immediate.} to toSeq
|
2015-10-06 08:15:00 +02:00 |
|
Peter Mora
|
75097e2981
|
sequtils related changes
|
2015-10-05 22:42:22 +02:00 |
|
Alexander Mitchell-Robinson
|
564c9f4013
|
Fixed my name.
|
2015-09-07 19:51:52 -05:00 |
|
Araq
|
d230b75e0a
|
removed sequtils.reversed again since it's already in algorithm.nim
|
2015-08-10 01:49:56 +02:00 |
|
Araq
|
cf4879bc48
|
added sequtils.reversed; refs #3148
|
2015-08-09 20:29:03 +02:00 |
|
Araq
|
a2b8b8b0dd
|
'sequtils doesn't take confusing default args anymore
|
2015-07-08 11:49:33 +02:00 |
|
Oleh Prypin
|
22db40e5e4
|
Turn some test outputs into actual tests
|
2015-04-21 15:59:32 +03:00 |
|
Oleh Prypin
|
32109a7867
|
Don't run non-test code when defined(testing)
|
2015-04-21 14:37:29 +03:00 |
|
Araq
|
a541be8935
|
prepare for upcoming parsing change of unary operators
|
2015-03-22 09:31:15 +01:00 |
|
Hans Raaf
|
51034d7e3a
|
Changed cast to type conversion and added XXX.
|
2015-03-07 17:51:03 +01:00 |
|
Hans Raaf
|
9e2f79251c
|
Do we want we to use the typesystem like this?
|
2015-03-06 18:16:00 +01:00 |
|
Hans Raaf
|
534fe46b82
|
Added repeat(seq, n) to sequtils.
This adds a repeat proc for sequences. There is also an test for it at the end of file.
|
2015-03-06 18:16:00 +01:00 |
|
Federico Ceratto
|
657dca5c3b
|
Fix typos
|
2015-02-15 16:20:32 +00:00 |
|
Federico Ceratto
|
c95f6f117a
|
Fix typos
|
2015-02-15 16:06:06 +00:00 |
|
dumndummer
|
07f42fa612
|
Changed name 'pred' to 'op' in mapIt template
|
2015-02-02 14:42:00 +00:00 |
|
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 |
|