Commit Graph

152 Commits (5507c2b676eab7cba48f7ddc662e4137ce78a8cd)

Author SHA1 Message Date
Doug Coleman 5507c2b676 factor: [let to let[, [| to |[ 2017-08-31 21:21:13 -05:00
Doug Coleman c436f6dbad factor: char: postpone: color: hexcolor: flexhexcolor: decimal: 2017-08-31 21:21:13 -05:00
Doug Coleman 01aab7c884 Factor: Rename <enum> to <enumerated> to not confuse with ENUM:s 2017-07-03 12:47:19 -07:00
Alexander Iljin fff7bc72a4 sequences.extras: add ?supremum and ?infimum 2017-06-25 16:26:45 -07:00
Alexander Iljin 2ffa446f5b *-docs: replace double spaces with single spaces
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -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
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 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 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
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 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -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 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
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