Jon Harper
93cf443f32
Allow circular clumps with a length smaller than the clump
...
Conflicts:
basis/grouping/grouping-tests.factor
2012-10-28 13:41:41 -07:00
Jon Harper
7b7586fa54
clump: fix empty sequence input. rephrase docs a bit
2012-10-28 13:34:18 -07:00
Jon Harper
2fc1442771
change clump when the group size is greater than the sequence length
2012-10-28 13:34:08 -07:00
Jon Harper
40ca3fc7f3
Friendlier grouping/clumping error message
2012-10-28 13:33:51 -07:00
Joe Groff
47cedd8d3d
slice boa -> <slice-unsafe>
...
If you didn't define it, don't boa it
2011-11-09 19:22:09 -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
cdee2439d8
grouping: minor cleanup
2010-03-17 19:13:25 +13:00
Joe Groff
dfd99199a3
grouping: circular-slice shouldn't be a subclass of slice since that thwarts method inlining
2010-02-26 13:20:47 -08:00
Joe Groff
d898ee86b6
grouping: add circular clumps (e.g. { 1 2 3 4 } 3 circular-clump => { { 1 2 3 } { 2 3 4 } { 3 4 1 } { 4 1 2 } }
2010-02-25 17:05:03 -08:00
Slava Pestov
22e3b71ae2
grouping: tweak inheritance to make method precedence explicit
2010-01-30 21:14:41 +13:00
Slava Pestov
af41dc6169
Trying to fix mixin semantics
2010-01-30 09:28:51 +13:00
Slava Pestov
a5d4f9cf16
grouping: clump on empty sequence was trying to make a sequence of length -1
2009-10-23 02:58:15 -05:00
Slava Pestov
030b1b816c
Add inline declarations for various assorted methods
2009-08-17 22:32:21 -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
7851aac222
Replace some usages of prepose with fry
2009-01-25 23:04:35 -06:00
Slava Pestov
1f0c01183e
Re-implement monotonic? without using rot
2009-01-15 15:24:46 -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
347087fab8
remove >r r> from grouping
2008-11-29 13:29:38 -06:00
Slava Pestov
ed3a81a503
Faster M: hashtable >alist performs less dispatch and allocates less junk
2008-11-11 23:03:50 -06:00