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
Doug Coleman
c5b563ed09
factor: Rename start -> subseq-start, start* -> subseq-start-from.
...
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
2017-06-01 14:45:54 -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
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
94da542acd
sequences.extras: removing a couple words that aren't used.
2016-12-29 12:03:16 -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
Doug Coleman
21461a1b75
core: selector-for and collector-for are the wrong naming convention--they should be selector-as and collector-as because they take exemplars.
...
The exemplar is the starting length of the output sequence in collector-as, so add another collector-for-as that takes a seq that we are making a collector for.
2016-05-26 14:36:11 -07:00
Doug Coleman
7f3adf3fb1
sequences.extras: add map-keys, map-values.
2016-05-09 16:28:04 -07:00
Doug Coleman
627f8603bd
sequences.extras: add a nullable span-slices word that allows f.
2016-04-10 11:39:50 -07:00
Doug Coleman
a15465a9c2
sequences.extras: Allow from to be f in ?<slice>
2016-04-07 13:22:18 -07:00
Doug Coleman
51b70b2050
core: clean up split-lines with subseq-as. clean up subseq/subseq-as/subseq-unsafe/subseq-unsafe-as.
2016-04-05 12:42:38 -07:00
Doug Coleman
783cffe036
sequences.extras: Add a word to ensure that the underlying for slices is the same. Add a more forgiving version of merge-slices called span-slices.
2016-04-04 11:47:46 -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
ebc2a8953c
sequences.extras: oops. cleanup dumb implementation.
2016-03-29 13:26:02 -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
d3bc2035a2
factor: remove rest of double paren words.
2016-03-25 03:13:27 -07:00
Doug Coleman
330c7ba156
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
...
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman
00338f62f3
factor: put inline on same line as ; for experimentation
2015-08-10 12:55:27 -05: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
b366a06c41
use reject instead of [ ... not ] filter.
2015-05-12 18:50:34 -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
501b54ce52
sequences.extras: adding find-last-index.
2015-04-27 21:26:34 -07:00
John Benediktsson
d732195dad
sequences.extras: removing contains? (probably a bad name or a bad definition).
2015-01-17 10:27:39 -08:00
John Benediktsson
a7b782542d
sequences.extras: using sift.
2014-12-06 21:20:24 -08:00
John Benediktsson
6fd908da40
use suffix! and append!.
2014-12-03 11:37:34 -08:00
Doug Coleman
56f1b87a6f
basis, extra: Use zip-index.
2014-11-08 00:46:30 -08:00
John Benediktsson
7b44637177
sequences.extras: adding count* which returns % of counted items.
2014-06-10 13:06:02 -07:00
John Benediktsson
13a84d1ff1
sequences.extras: adding replicate-into.
2014-02-27 14:31:25 -08: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
325d1bac2a
sequences.extras: use either?.
2014-01-05 20:28:34 -08:00
John Benediktsson
f6bd67ab46
sequences.extras: adding change-last and change-last-unsafe.
2013-10-12 16:40:51 -07: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
c9c30c6e6d
sequences.extras: adding ?first{2,3,4}.
2013-09-04 20:39:32 -07:00
John Benediktsson
5e25b8b49f
sequences.extra: >resizable can't be inline for some reason...
2013-05-30 15:01:34 -07:00