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
b141e0d2fb
assocs: moving collect-by from math.statistics.
2016-12-28 12:56:19 -08: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
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
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
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
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
c77611f07b
assocs: adding tests for "assoc-stack".
2011-09-17 08:14:13 -07:00
Slava Pestov
11be5a4bd5
Rename update to assoc-union!, add assoc-filter! assoc-diff! words
2010-02-04 02:55:00 +13:00
Slava Pestov
b7e05a525b
remove unused and really confusing remove-all word
2009-10-27 23:45:03 -05:00
Slava Pestov
4abfe06b51
Fixing various test failures caused by C type parser change, and clarify C type docs some more
2009-09-28 08:48:39 -05:00
Slava Pestov
7f2e2b1777
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Doug Coleman
3f3d57032b
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Slava Pestov
42230b21a3
Add assoc-refine, which takes the intersection of a sequence of assocs
2009-07-22 02:06:14 -05:00
Slava Pestov
9e987e8642
Merge branch 'master' into global_optimization
2009-06-01 03:12:32 -05:00
Slava Pestov
eda44f28a6
Move maybe-set-at to assocs
2009-05-26 18:45:37 -05:00
Doug Coleman
5a3a14d1c9
remove at-default. it was hardly used and it's just '?at drop'
2009-05-24 21:46:59 -05:00
Doug Coleman
ff44ef224d
add ?at, tests, documentation
2009-02-22 17:13:18 -06:00
Slava Pestov
c41161277d
Add assoc-partition combinator, and re-implement assoc-filter in a more straightforward fashion
2009-01-26 23:19:49 -06:00
Slava Pestov
4b4d93dddd
Move at-default from unicode.case to assocs, move 2cache from classes.algebra to assocs, clean up some code to no longer use -rot, rot, pick
2009-01-20 15:27:14 -06:00
Slava Pestov
0ba5304ee3
Fix assocs, generic.standard tests
2008-12-03 03:44:08 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
0c8e2584b4
Fixing unit tests for make, fry changes
2008-09-11 00:20:06 -05:00
Slava Pestov
aeb2b9d701
Fixing unit test failures
2008-07-02 15:57:38 -05:00
Slava Pestov
3ee56c3a68
Add extract-keys word
2008-05-22 22:41:48 -05:00
Slava Pestov
1bd8b19ff5
Rename subassoc? to assoc-subset?, add subset? word for sequences
2008-05-01 20:01:57 -05:00
Doug Coleman
15402ed1b4
core changes:
...
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:12:44 -05:00
Doug Coleman
2edd0fefc9
new -> new-sequence
...
construct-empty -> new
construct-boa -> boa
diff -> assoc-diff
union -> assoc-union
intersect -> assoc-intersect
2008-04-13 22:58:07 -05:00
Slava Pestov
febcd88459
Unit test fixes
2008-03-27 05:13:52 -05:00
Slava Pestov
e1ad21a439
Working on shapes
2008-03-26 03:57:48 -05:00
Slava Pestov
e98cd1fd59
New convention for unit tests
2008-03-01 17:00:45 -05:00
Slava Pestov
3c95a5a3ea
Fix map>assoc where the input is a specialized array
2007-12-03 19:29:16 -05:00
Slava Pestov
a96457cecc
Initial import
2007-09-20 18:09:08 -04:00