Doug Coleman
4e9d383fe5
docs: Fix help-lint-all mistakes.
2018-07-07 01:13:19 -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
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
Jon Harper
7ed6379633
trees, attempt to keep shape during conersions
2017-02-08 10:37:02 -08:00
Jon Harper
d800d026de
trees, make pop/slurp work for all trees
...
It is not as optimized as it could be but it is a simple way
to ensure that the tree properties are maintained.
2017-02-08 10:37:02 -08:00
Jon Harper
e0bd21e24a
trees, cleanup privates
2017-02-08 10:37:02 -08:00
Jon Harper
8b136cdd6d
trees, add pop/slurp operations
2017-02-08 10:37:02 -08:00
Jon Harper
45500b9137
trees, add navigation operations (lower-key etc.)
2017-02-08 10:37:02 -08:00
Jon Harper
3667844439
trees, add range operations (subtree>alist etc.)
2017-02-08 10:37:02 -08:00
Jon Harper
c686b15939
trees, fix delete-at. Add testcase
2017-02-08 10:37:02 -08:00
Jon Harper
2ca301ec5e
trees.splay, add test for assoc-size
2017-02-08 10:37:02 -08:00
Jon Harper
4442d922b0
trees.avl, implement assoc-size
2017-02-08 10:37:02 -08:00
Jon Harper
d2cfbafa13
trees, implement assoc-size
2017-02-08 10:37:02 -08:00
Jon Harper
2bfeecda2b
trees, add height
2017-02-08 10:37:02 -08:00
Jon Harper
29ebeb5a26
trees, change M\ tree clone to keep the shape of the tree
...
Without this, all base class and splay trees were becoming linked lists after cloning..
2017-02-08 10:37:02 -08:00
John Benediktsson
ef3d271fb3
remove some uses of conjoin.
2017-02-07 15:14:20 -08:00
Jon Harper
3d60f7ad5a
trees.avl: fix it (broken since 2010)
...
rotate creates cycles in the tree and drops nodes...
This either breaks everything (infinite recursion) or silently
loses data.
Improve the tests to ensure rotate does what it's supposed to do.
This is a partial revert from 15226d8
2016-11-27 07:45:28 -08:00
Jon Harper
eb46e23eab
trees.avl: fix typo in test
2016-11-27 07:45:28 -08:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -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
Doug Coleman
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson
b76503a718
use ">>foo" instead of "over foo<<".
2014-12-11 20:55:04 -08:00
John Benediktsson
26583dbbaa
trees: some cleanup.
2014-12-11 20:33:18 -08: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
e008810677
trees.splay: use typed.
2013-03-06 18:42:06 -08:00
John Benediktsson
d1f3b326e5
math: using if-zero in more places.
2012-06-18 14:32:39 -07:00
John Benediktsson
ce1d69aa0a
trees.splay: fix delete-at.
2011-10-14 17:52:24 -07:00
John Benediktsson
1987deb359
Fix M: stack effects.
2011-10-13 16:41:17 -07:00
Erik Charlebois
6fef726d58
Replace deprecated words with alternatives.
...
A load-all on OS X now completes without any deprecated word warnings.
2011-07-29 01:56:13 -04:00
Doug Coleman
15226d8bc3
Minor cleanups in trees
2010-10-09 11:21:11 -07:00
Slava Pestov
627295f094
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
2010-05-06 17:21:02 -04:00
Daniel Ehrenberg
b9d9f3e2bd
Cleaning up trees code a little bit
2010-05-04 18:10:34 -05:00
Slava Pestov
bd0ca0e2aa
Clean up some tags
2010-02-17 00:12:55 +13:00
Doug Coleman
4c71d71907
random is generic now -- iota random -> random
2010-01-14 12:48:57 -06:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Joe Groff
a5957b188d
nip most uses of tuck from extra
2009-11-05 22:22:21 -06:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04: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
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Doug Coleman
d9184fbf24
re-enable tree prettyprinting code. trees need refactoring or a rewrite someday
2009-03-04 16:14:16 -06:00
Doug Coleman
a25565e8eb
move trees from unmaintained to extra
2009-03-04 16:02:21 -06:00
Slava Pestov
4bc54497fa
Move vocabularies which use delegation to unmaintained, and delete older unmaintained stuff
2008-08-27 16:23:35 -05:00
Slava Pestov
29fa4a8a54
assoc-find is no longer generic
2008-06-09 05:22:21 -05:00
Slava Pestov
ba8f1388ab
Fixing everything for mandatory stack effects
2008-06-09 02:14:14 -05:00
Slava Pestov
d57c66690d
Fix errors reported by builder
2008-05-29 02:47:30 -05:00