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
dfdf1f19cc
sequences.extras: fix doc for find-all.
2016-12-29 12:04:29 -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
Jon Harper
6bdb62d142
docs: typos: occurence -> occurrence
...
Didn't fix the one at extra/webapps/fjsc/www/termlib/readme.txt
because it's from upstream
2016-10-28 09:32:51 -07: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
John Benediktsson
96ad040ed7
sequences.frozen: adding virtual "frozen" sequences.
2016-03-31 09:14:30 -07:00
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -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
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -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
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
John Benediktsson
5eec781b40
use ``if*`` instead of ``dup [ ] [ drop ] if``.
2015-07-20 22:24:30 -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
999aa7c897
factor: clean up spaces in -tests files
2015-07-02 10:34:01 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -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
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
John Benediktsson
5ea4e26bc5
sequences.rotated: can be a lot faster if we don't circular-wrap.
2015-05-11 19:41:01 -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
16213f8779
sequences.rotated: adding all-rotations.
2015-04-28 18:55:23 -07:00
John Benediktsson
501b54ce52
sequences.extras: adding find-last-index.
2015-04-27 21:26:34 -07:00
Benjamin Pollack
21fd64b271
Add more documentation to sequences.extras
2015-02-02 20:11:30 -05:00
John Benediktsson
ac23acc2c9
Fix some minor errors in help-lint.
2015-01-30 17:04:40 -08:00
Benjamin Pollack
ab5bfd90ef
Add more documentation for sequences.extras
2015-01-30 17:04:40 -08: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