Doug Coleman
250d96d7b1
Clean up heaps implementation, test max-heaps.
2011-04-10 12:57:39 -05:00
Slava Pestov
1b4b1a180c
Some minor pointless optimizations
2010-04-01 20:09:14 -04:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Doug Coleman
0d4b9132d7
fix a bunch of typos in docs
2009-10-21 17:40:43 -05: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
Joe Groff
7c5ef08aab
[ [ ... ] compare ] sort => [ ... ] sort-with
2009-08-02 20:09:23 -05:00
Slava Pestov
389b689796
slightly faster heaps, add benchmark
2009-07-18 00:52:24 -05:00
Slava Pestov
37b01357ec
Remove unused words discovered by Samuel Tardieu
2009-06-16 16:38:39 -05:00
Slava Pestov
2d231f066a
GC checks now save and restore registers
2009-06-02 18:23:47 -05:00
Doug Coleman
407377fc98
rename peek -> last and update all usages
2009-05-25 16:38:33 -05:00
Doug Coleman
364ea217ef
fix more compiler errors
2009-04-17 14:44:08 -05:00
Slava Pestov
25a877e50b
Merge OneEyed's patch
2009-02-28 17:06:55 -06:00
Slava Pestov
cd53c2bd37
produce and produce-as: don't need third quotation either
2009-02-28 15:31:34 -06:00
Slava Pestov
669548e62e
Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary
2009-02-02 13:43:54 -06:00
Slava Pestov
2dc0757850
Cleanups
2009-01-21 19:55:47 -06:00
Slava Pestov
34792a9f23
Remove >r/r>
2008-12-17 19:17:37 -06:00
Slava Pestov
daf2857d7b
define-inline now takes an effect parameter
...
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Doug Coleman
d0370a06b0
remove >r r> from heaps
2008-11-29 13:28:52 -06:00
Slava Pestov
de02724135
Make a word inline for the win
2008-11-11 23:04:30 -06:00
Doug Coleman
efb5fa0814
don't redefine delete-random
2008-10-04 11:45:21 -05:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
37219fa139
Fix help
2008-10-01 21:05:27 -05:00
Slava Pestov
4ce980b9ac
Move heap-slurp-when to spider
2008-10-01 20:54:58 -05:00
Doug Coleman
ffaab5a14e
add slurp-heap-when, document heap-slurp-*
2008-10-01 18:10:57 -05:00
Slava Pestov
89ce8e1f3e
Add slurp-heap combinator, like slurp-deque
2008-09-15 02:59:00 -05:00
Doug Coleman
e81d69ab34
new accessors
2008-08-29 17:07:30 -05:00
Doug Coleman
085e477a98
new accessors
2008-08-29 16:49:41 -05:00
Doug Coleman
945626247f
new accessors
2008-08-29 16:42:22 -05:00
Doug Coleman
42bd621cce
ERROR: instead of throw
2008-08-29 02:13:27 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00