Commit Graph

85 Commits (clean-macosx-x86-64)

Author SHA1 Message Date
Alexander Iljin f11e5da90f splitting-docs: mention two existing words in documentation 2018-08-21 10:45:52 -07: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 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 423181c867 splitting-docs: add link to slice in split-when-slice 2017-01-13 13:31:53 +03:00
Doug Coleman 1f7bf0d6ab splitting: string-lines is optimized for strings. revert my previous slowdown of 50% or so. add a note so this won't happen again. oops. 2016-04-05 21:17:43 -07:00
Doug Coleman aaae4bcf9f splitting-docs: Fix stack effect of string-lines. 2016-04-05 14:50:50 -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 c133c16377 core: Trim using lists from -tests and clean up a few irregularities. 2016-03-30 18:43:41 -07:00
John Benediktsson 35ca557ce7 core: use $sequence help-markup in a few places. 2016-03-16 10:13:56 -07:00
John Benediktsson 82d4b1d67e splitting: fix docs for string-lines. 2016-03-13 20:02:09 -07:00
John Benediktsson e8b62d41c3 splitting: fix using. 2016-03-13 17:01:58 -07:00
John Benediktsson ef2ae9c360 splitting: make string-lines more correctly handle line terminator. 2016-03-13 15:46:04 -07:00
John Benediktsson 573ac9c9e9 splitting: use unsafe in split-when, simplify split-indices. 2015-07-17 12:14:33 -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
Björn Lindqvist 422c4b2051 splitting: new word split-indices, it's useful compiler.cfg.scheduling so let's add it to the splitting vocab too 2014-11-22 17:31:38 -08:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 73d65aacb3 core: update some help $value types. 2014-05-23 14:24:04 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 04d83f9f48 splitting: simplify a bit. 2013-10-12 16:41:12 -07:00
John Benediktsson 6497dd0fe4 splitting: cleanup duplicate code. 2013-06-25 15:17:44 -07:00
John Benediktsson 2ca5b739e0 splitting: removing split* to extras. 2013-04-01 09:14:01 -07:00
John Benediktsson ff7793bb90 splitting: add another test case to make sure we can access ... args. 2013-03-31 18:52:53 -07:00
John Benediktsson 042d86846e splitting: change split* to preserve (separately) the separators. 2013-03-31 16:05:30 -07:00
John Benediktsson ae4e53fd5b splitting: adding split-slice and split*-slice for completeness. 2013-03-27 16:29:13 -07:00
John Benediktsson f285d4db3f splitting: add split*-when-slice and change to not use make. 2013-03-27 16:19:56 -07:00
John Benediktsson 6fd25b6668 splitting: adding split1-when-slice and split-when-slice. 2013-03-27 16:00:16 -07:00
John Benediktsson 872e3c4e83 splitting: string-lines docs say it returns strings, so do that. 2013-03-24 19:45:29 -07:00
Doug Coleman ef5c7cfa50 splitting: Support SBUF" " with split-lines. Fixes #575. Thanks @mrjbq7
for the patch.
2013-03-23 14:00:29 -07:00
John Benediktsson 5487480126 core: cleanup USING lists. 2013-03-05 10:34:47 -08:00
Doug Coleman 10e74c6066 sequences: Add join-as, which takes an exemplar. Move split-subseq and replace from unicode.case to splitting and fix an infinite loop with split-subseq. Add docs/tests. 2013-01-03 16:44:25 -08:00
John Benediktsson f60513c053 splitting: making split inline. 2012-08-06 15:08:16 -07:00
John Benediktsson 9d2a1a6b7c splitting: crlf? was unnecessary. 2012-07-30 11:26:38 -07:00
John Benediktsson da692ff7ec splitting: slightly faster string-lines. 2012-07-13 20:26:07 -07:00
John Benediktsson 646e9db251 splitting: string-lines is 30-70% faster. 2012-07-13 18:24:45 -07:00
John Benediktsson 55b127f96b splitting: adding split*, a variant that keeps elements we split upon. 2012-06-20 19:57:11 -07:00
John Benediktsson d37e5192de splitting: fixing split1-last. 2012-04-27 08:48:57 -07:00
John Benediktsson 5e16810075 using reverse! when possible. 2012-04-25 20:09:36 -07:00
John Benediktsson a99afa996c splitting: fix docs for split1-when. 2012-04-18 15:59:08 -07:00
John Benediktsson 94b73d9371 splitting: adding split1-when. 2012-04-18 15:55:15 -07:00
Doug Coleman 3ba787b277 core/basis: trim down using lists 2011-11-30 23:15:42 -08:00
John Benediktsson a916bebcfe Fixing docs for recent stack effects additions. 2011-09-24 22:08:54 -07:00
John Benediktsson 3c1356bf69 Adding stack effects. 2011-09-23 17:46:40 -07:00
Slava Pestov 5cbf730517 splitting: fix stack effect declaration of (split) 2010-11-06 17:50:39 -07:00
Joe Groff 83c81b288f polymorphize splitting private combinators 2010-03-07 18:07:59 -08:00
Joe Groff 2352792502 factor "split-when" (split on predicate) from "split" 2009-11-06 16:29:33 -06:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman 14ef1649d4 add if-zero/when-zero/unless-zero to core/ and update usages 2009-08-11 17:59:40 -05:00