Commit Graph

446 Commits (e645990eed09a413fab17a3398f8bda28af3f19a)

Author SHA1 Message Date
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
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -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
John Benediktsson d07564532d sequences: make concat-as inline and don't special-case empty. 2015-06-06 09:28:00 -07:00
John Benediktsson 2c3492a916 minor cleanup to some docs. 2015-05-13 16:09:14 -07:00
John Benediktsson 55122d9141 sequences: adding related-words for filter and reject. 2015-05-12 19:08:21 -07:00
John Benediktsson 6071ea98f7 sequences: adding reject/reject-as/reject!. 2015-05-12 18:39:19 -07:00
Doug Coleman 2dc5590966 sequences: Add some examples of head and tail with short. 2014-12-17 17:43:18 -08:00
John Benediktsson b377ea313c assocs: moving map-index back to sequences, change zip and zip-index to make alists. 2014-11-11 18:13:01 -08:00
Doug Coleman 7cfa9d9518 assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
Doug Coleman 0a0895f90f assocs: Add zip-index, zip-index-as and docs/tests.
sequences: Add map-index-as for symmetry and docs/tests.
2014-11-08 00:39:38 -08:00
John Benediktsson f3a8546b23 core: get rid of some unnecessary wrappers. 2014-11-02 20:16:22 -08:00