John Benediktsson
|
81f2e9a0a7
|
sequences.extras: adding extract!.
It's similar to reject! but returns the items that were removed.
|
2019-06-28 11:27:23 -07:00 |
John Benediktsson
|
6e89e4ecab
|
sequences.extras: fix bug in count-head, add some tests.
|
2018-07-06 08:07:11 -07:00 |
John Benediktsson
|
ca3b44b39b
|
sequences.extras: fix test case for interleaved/join-with.
|
2018-02-16 14:48:00 -08:00 |
John Benediktsson
|
2938c9b017
|
sequences.extras: making evens/odds mutable sequences.
|
2018-02-16 09:21:05 -08:00 |
John Benediktsson
|
fb0a6c6c5e
|
sequences.extras: adding join-with-as, test with strings.
|
2018-02-15 16:56:37 -08:00 |
John Benediktsson
|
58e77d10f9
|
sequences.extras: adding join-with.
|
2018-02-15 14:46:19 -08:00 |
John Benediktsson
|
6890ec3fe4
|
extra: remove some unneeded IN: in -tests.
|
2018-02-14 17:01:11 -08:00 |
Björn Lindqvist
|
603354a02e
|
sequences.extras: this formulation of arg-max/min should be better
|
2018-02-08 19:48:08 +01:00 |
Alexander Iljin
|
fff7bc72a4
|
sequences.extras: add ?supremum and ?infimum
|
2017-06-25 16:26:45 -07:00 |
Doug Coleman
|
48344ab55c
|
factor: last iota -> <iota> fix.
|
2017-06-02 17:39:40 -05:00 |
Doug Coleman
|
e189954ecc
|
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
|
2017-06-02 11:57:05 -05:00 |
John Benediktsson
|
369f5b6d13
|
sequences.extras: additional tests for take-while and drop-while.
|
2017-01-26 22:09:13 -08:00 |
John Benediktsson
|
e462f85c66
|
sequences.extras: whoops, fix tests.
|
2017-01-26 12:07:33 -08:00 |
John Benediktsson
|
a8a94c3960
|
sequences.extras: experimenting with take-while and drop-while.
|
2017-01-26 12:05:09 -08:00 |
John Benediktsson
|
baaa06278c
|
Revert "sequences: swap stack arguments for start/start*/subseq?."
This reverts commit 63b0593824 .
|
2017-01-21 07:20:14 -08:00 |
John Benediktsson
|
63b0593824
|
sequences: swap stack arguments for start/start*/subseq?.
It is more natural to be ( seq subseq -- ? ).
|
2017-01-20 22:49:53 -08:00 |
John Benediktsson
|
d145548c44
|
sequences.extras: fix map-concat to be row-polymorphic.
|
2016-12-29 12:35:39 -08:00 |
John Benediktsson
|
b333343e2b
|
sequences.extras: little more cleanup.
|
2016-12-29 12:29:09 -08:00 |
John Benediktsson
|
a153d9f6ad
|
sequences.extras: simpler find-all and a test.
|
2016-12-29 09:20:32 -08:00 |
John Benediktsson
|
d015f028db
|
sequences.extras: adding pad-center.
|
2016-08-03 11:25:06 -07:00 |
John Benediktsson
|
1aa8a432c7
|
sequences.extras: make rotate wrap.
|
2016-04-04 11:17:24 -07:00 |
John Benediktsson
|
4c6511a058
|
sequences.extras: make rotate! support negative indices.
|
2016-04-04 11:13:11 -07:00 |
John Benediktsson
|
4b5b058c20
|
sequences.extras: make rotate support negative n.
|
2016-04-04 11:05:28 -07:00 |
John Benediktsson
|
dad9110889
|
sequences.extras: rename back to rotate!.
|
2016-04-04 10:59:32 -07:00 |
Doug Coleman
|
fc1b8214f0
|
sequences.extras: Check if slices overlap or touch. Add a merge-slices word. For efficiency, provide ordered/unordered versions of each word based on whether you know the slices have been swapped or not so they are ordered by from>>.
|
2016-04-02 15:46:08 -07:00 |
Doug Coleman
|
b4f979c848
|
sequences.extras: rename rotate to rotate-headwards and rotate-tailwards. add experimental length- word and addo some slice util words.
|
2016-04-02 15:17:12 -07:00 |
Doug Coleman
|
3f803e3893
|
sequences.extras: add map-zip.
|
2016-03-29 12:58:26 -07:00 |
Doug Coleman
|
3c481192a0
|
sequences.extras: Fix bad rename. (each-from) -> setup-each-from now. Add a unit test for reduce-from.
|
2016-03-25 09:42:43 -07:00 |
Doug Coleman
|
892c62e1dc
|
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
|
2015-07-03 09:39:59 -07:00 |
Doug Coleman
|
59f3b1ea57
|
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.
This reverts commit 7e54cc2824 .
|
2015-07-02 13:47:06 -07:00 |
Doug Coleman
|
7e54cc2824
|
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
|
2015-07-02 11:36:08 -07:00 |
Doug Coleman
|
a2913d6bd7
|
sequences.extras: Add selector* which saves the output from the quotation
not the original value.
|
2015-05-21 22:35:23 -07:00 |
John Benediktsson
|
6071ea98f7
|
sequences: adding reject/reject-as/reject!.
|
2015-05-12 18:39:19 -07:00 |
Jon Harper
|
46fd0b5794
|
sequences.extras: add start-all and count-subseq for searching/counting all occurences of a subseq
|
2015-05-10 11:05:16 -07:00 |
John Benediktsson
|
7b44637177
|
sequences.extras: adding count* which returns % of counted items.
|
2014-06-10 13:06:02 -07:00 |
John Benediktsson
|
b5eae48068
|
sequences.extras: remove insert-sorted (can use versions in sorting.extras instead).
|
2014-01-08 11:50:35 -08:00 |
John Benediktsson
|
a8691d6dc9
|
sequences.extras: adding reject!.
|
2013-09-24 15:21:54 -07:00 |
John Benediktsson
|
62be0fde4a
|
sequences.extras: adding reject, "[ not ] compose filter".
|
2013-09-24 14:52:56 -07:00 |
John Benediktsson
|
6de8367223
|
sequences.extras: adding supremum-by* and infimum-by* that return indices.
|
2013-09-21 15:22:12 -07:00 |
John Benediktsson
|
454bffc14e
|
sequences.extras: adding nth* which is nth from the end.
|
2013-09-12 12:47:04 -07:00 |
John Benediktsson
|
430e73b16c
|
sequences.extras: adding cut-when.
|
2013-09-05 20:58:36 -07:00 |
John Benediktsson
|
f628e2a7ad
|
sequences.extras: fix map-concat row-polymorphic problem.
|
2013-05-30 14:54:29 -07:00 |
John Benediktsson
|
84b5e3828f
|
sequences.extras: adding subseq* and safe-subseq.
|
2013-05-24 11:19:27 -07:00 |
John Benediktsson
|
23cb4c2f48
|
sequences.extras: fix test for arg-where.
|
2013-05-01 17:19:02 -07:00 |
John Benediktsson
|
17415b3525
|
sequences.extras: adding subseq-as.
|
2013-04-25 20:38:07 -07:00 |
John Benediktsson
|
ec74336c7b
|
sequence.extras: adding ?trim-head and ?trim-tail.
|
2013-04-03 08:55:48 -07:00 |
John Benediktsson
|
6c0bb0f343
|
sequences.extras: adding map-find-index.
|
2013-03-24 19:12:09 -07:00 |
Doug Coleman
|
247f57b828
|
sequences: More efficient longest and shortest by moving infimum-by/supremum-by into core.
|
2013-03-11 18:35:53 -07:00 |
John Benediktsson
|
f0999e83dc
|
sequences.extras: adding flatten1.
|
2012-11-07 17:02:22 -08:00 |
John Benediktsson
|
4bdb40574a
|
sequences.extras: adding a (slow) arg-sort.
|
2012-10-29 17:45:33 -07:00 |