Commit Graph

153 Commits (master)

Author SHA1 Message Date
John Benediktsson f2deb82829 core: removing unnecessary method stack effects. 2020-09-09 15:00:53 -07:00
John Benediktsson a861c4c732 assocs: improve stack effect for delete-at* and ?delete-at. 2020-08-23 13:04:48 -07:00
John Benediktsson 1ac7e08f59 assocs: adding ?change-at. 2020-08-17 10:08:41 -07:00
Doug Coleman 591a468800 assocs: Add ?delete-at. 2019-02-03 14:51:59 -05:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
Doug Coleman 01aab7c884 Factor: Rename <enum> to <enumerated> to not confuse with ENUM:s 2017-07-03 12:47:19 -07: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
John Benediktsson f4ccfa0f71 sets: moving unique/conjoin/conjoin-at to compiler.utilities. 2017-02-07 18:54:24 -08:00
John Benediktsson b5ce31cbae assocs: change assoc= to compare with = not eq?. 2017-02-07 16:40:39 -08:00
John Benediktsson 000aa1f5a6 assocs: M\ enum >alist can be no-op because it's a sequence. 2016-12-29 11:58:55 -08:00
John Benediktsson b141e0d2fb assocs: moving collect-by from math.statistics. 2016-12-28 12:56:19 -08:00
John Benediktsson fa5441f70a Revert "assocs-docs: mark assoc-partition and partition as related words"
This reverts commit 892e41c1ce.
2016-08-10 19:42:41 -07:00
Alexander Iljin 892e41c1ce assocs-docs: mark assoc-partition and partition as related words 2016-08-10 19:42:20 -07:00
Doug Coleman 9ee109ae50 assocs: Add assoc-union-as. Use assoc-reject-like. 2016-04-12 14:18:54 -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
Doug Coleman 5dadf77311 assocs: fix map>alist and docs. 2015-08-12 08:48:33 -05:00
Doug Coleman 114ba4733a assocs: add map>alist which is { } map>assoc but could map to an alist type sometime. 2015-08-11 23:43:58 -05:00
Doug Coleman 434f08a303 assocs: Add harvest-keys, harvest-values to core/. Remove assoc-sift because it's sift-keys, sift-values in core/. 2015-08-08 12:16:48 -05: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
John Benediktsson 2c3492a916 minor cleanup to some docs. 2015-05-13 16:09:14 -07:00
John Benediktsson 016e03410d assocs: adding assoc-reject, assoc-reject-as, assoc-reject!. 2015-05-12 19:07:00 -07: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 46d855665a assocs: Fix up some stack effects. 2014-11-08 22:30:07 -08:00
Doug Coleman 45e7fd7921 assocs: Make the output from zip, zip-index, and map-index the same type as the first seq/assoc argument. Add tests. 2014-11-08 18:26:21 -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 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 17da9e0cff assocs: faster keys/values for enums. 2013-04-07 12:44:09 -07:00
John Benediktsson 9926c205a5 assocs: making keys and values generic. 2013-04-06 21:19:56 -07:00
Doug Coleman f320edfa9a assocs-docs: Link of and ?of. 2013-03-23 15:12:43 -07:00
John Benediktsson 356ecca26b assocs: tweak docs for new-assoc. 2013-03-23 15:04:42 -07:00
Doug Coleman 8c19602ae9 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -07:00
John Benediktsson 8f9bd87693 assocs: cleanup and use first2-unsafe in assoc-find. 2013-03-05 20:42:15 -08:00
John Benediktsson 07b2a9407e assocs: change enum to immutable-sequence. 2013-02-22 06:58:29 -08:00
John Benediktsson 0d5a91345b assocs: allow enums to support sequence protocol. 2013-02-21 18:24:50 -08:00
John Benediktsson ebd7ab088d assocs: 2cache can be a bit more unsafe. 2012-09-23 17:40:25 -07:00
Doug Coleman 27f445d505 assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
John Benediktsson 9d5530f3e4 assocs: inline assoc-empty? and make M\ enum at* not check bounds twice. 2012-07-20 09:04:51 -07:00
John Benediktsson f0698ee97f assocs: faster map>assoc. 2012-07-17 15:28:44 -07:00
John Benediktsson 664908c78f assocs: 50% faster zip. 2012-04-25 20:09:21 -07:00
Doug Coleman 3ba787b277 core/basis: trim down using lists 2011-11-30 23:15:42 -08:00
John Benediktsson 00280a52a4 assocs: 5-8% performance improvement to assoc>map. Fixes #69. 2011-11-12 17:02:33 -08:00
John Benediktsson be68b9d539 assocs: improve stack effect docs for "?at". 2011-09-26 11:32:20 -07:00
John Benediktsson c77611f07b assocs: adding tests for "assoc-stack". 2011-09-17 08:14:13 -07:00
John Benediktsson d58bc08aa0 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
Keita Haga 27f1abd70e assocs: fix a few typos in docs 2011-02-08 00:35:15 +09:00
Keita Haga a2da8f77db assocs: fix description of inputs and outputs values in many words 2011-01-17 18:26:20 +09:00