Commit Graph

459 Commits (c20d36bab9372a93e3d71be389003d87fc83c859)

Author SHA1 Message Date
Alexander Iljin abb3089a97 sequences-docs: fix a typo 2018-01-22 07:58:17 -08:00
John Benediktsson 37794a326c sequences: rename setup-each to (each).
...to match (each-from), (2each), and (3each), etc.
2017-10-24 17:22:55 -07:00
John Benediktsson 26b7b20622 sequences: fix map-reduce to have ..a on the stack for the first call. 2017-10-23 18:01:15 -07:00
Alexander Iljin 599a21a8da sequences-docs: fix the delete-all $errors description 2017-08-27 13:06:09 +03:00
Björn Lindqvist 1ca8276df4 basis/,core/,extra/: many new tags 2017-07-06 23:04:18 +02:00
Alexander Iljin 106e1ea4f3 sequences-docs: add short help for the words longest and shortest 2017-06-21 12:35:47 +03: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 7a703658f1 sequences: Remove start for real in favor of subseq-start.
Update a usage of start that was masked by the ALIAS:

Compatibility/migration is a .99 feature.
2017-06-02 17:41:10 -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 88bff3a034 sequences: Add start as an alias for subseq-start, start* aliasing subseq-start-from. 2017-06-01 14:55:15 -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
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
John Benediktsson 1898c2bb3a sequences: fix example for unless-empty. 2017-05-03 18:24:14 -07:00
Alexander Iljin 4968a4f6a5 sequences-docs: add a bunch of related-words 2017-03-17 08:22:18 -07:00
Alexander Iljin a6223e1ae3 sequences-docs: simplify the head* description 2017-03-17 08:22:18 -07:00
John Benediktsson 44da4ed4dd sequences: fix filter! to allow stack arguments to be used by the quot. 2017-03-05 14:09:03 -08:00
John Benediktsson b51617db16 sequences: simplify (map-find). 2017-02-07 19:42:58 -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
Alexander Iljin 4fa1103179 sequences-docs: add a missing period at the end of a sentence 2017-01-20 08:21:54 -08:00
Alexander Iljin 5d7299b1af sequences-docs: add some related-words 2017-01-13 13:31:48 +03:00
Alexander Iljin 429c237870 sequences-docs: fix parameter names in the <slice> description 2017-01-13 13:31:38 +03:00
John Benediktsson f0251cb2ad sequences: remove (indices). 2016-12-28 16:40:27 -08:00
Alexander Iljin 1a29e1b03e sequences-docs: fix wording 2016-10-28 09:34:53 -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
Alexander Iljin ecd3d76a4e sequences-docs: fix wording 2016-04-30 17:53:48 +03: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 c133c16377 core: Trim using lists from -tests and clean up a few irregularities. 2016-03-30 18:43:41 -07:00
Doug Coleman 20aadd5688 core: rename some double paren words. 2016-03-25 03:13:27 -07:00
Björn Lindqvist c7ed8a88bb bootstrap.primitives: new predicate integer-array-capacity
It is to be used to declare values for better optimizations.
2016-03-18 20:21:51 +01:00
Jon Harper 13c27b69e5 sequences-docs, improve consistency 2016-03-08 13:41:54 -08:00
Jon Harper cb6ddb1735 rename math.statistics:cum-map to sequences:accumulate* 2016-03-08 13:41:54 -08:00
Björn Lindqvist 804348287c Docs: fix a bunch of help-lint warnings 2015-09-22 08:52:59 +02:00
Björn Lindqvist db0739ff36 sequences: extra doc and test for 2all? 2015-09-22 08:52:59 +02:00
John Benediktsson 59caf874a3 syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
2015-09-09 18:28:08 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 02008979d9 factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon. 2015-08-12 15:26:18 -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 b82d866340 sequences: bring back check-length. 2015-07-20 09:58:12 -07:00
John Benediktsson 3ea9f09f6a fix some sets:members. 2015-07-20 09:32:31 -07:00
John Benediktsson fb688cc08b sequences: integer length for repetition, use English. 2015-07-17 17:42:41 -07:00
John Benediktsson 17386d0608 Revert "sequences: simplify find-from and find-last-from."
This reverts commit 903b8eec0b.
2015-07-17 16:41:56 -07:00
John Benediktsson 743928ae7d sequences: use check-length to force integer partial dispatch in iteration. 2015-07-17 13:59:33 -07:00
John Benediktsson 9c4b3e7e43 sequences: define a 2each-from, use each-from more. 2015-07-17 13:40:01 -07:00
John Benediktsson 903b8eec0b sequences: simplify find-from and find-last-from. 2015-07-17 13:26:43 -07:00
John Benediktsson 9fad4187f3 sequences: adding a subseq-unsafe that doesn't check slice bounds. 2015-07-17 12:14:33 -07:00
John Benediktsson 8e8b15c515 sequences: fix help-lint. 2015-07-16 17:18:14 -07:00
John Benediktsson 94cddbe927 sequences: integer slots in slice, don't store reason in slice-error. 2015-07-16 15:35:03 -07:00
John Benediktsson 94ed98e78c Use $sequence in a few places. 2015-07-14 15:57:18 -07:00