Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
|
|
@ -2,7 +2,7 @@ defer less? ' < is less?
|
|||
|
||||
: shell { array len -- }
|
||||
1 begin dup len u<= while 2* 1+ repeat { gap }
|
||||
begin gap 5 11 */ dup to gap while
|
||||
begin gap 2 = if 1 else gap 5 11 */ then dup to gap while
|
||||
len gap do
|
||||
array i cells +
|
||||
dup @ swap ( temp last )
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ defer precedes ' < is precedes
|
|||
loop r> swap
|
||||
;
|
||||
( a n --)
|
||||
: shell dup begin 5 11 */ dup while (shell) repeat drop 2drop ;
|
||||
: shell dup begin dup 2 = if 2/ else 5 11 */ then dup while (shell) repeat drop 2drop ;
|
||||
|
||||
create array 8 , 1 , 4 , 2 , 10 , 3 , 7 , 9 , 6 , 5 ,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue