Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
[ 2dup peek 1+
|
||||
unrot poke ] is [1+] ( [ n --> [ )
|
||||
|
||||
[ 1+ dip tuck -
|
||||
rot 0 swap of
|
||||
swap rot witheach
|
||||
[ over +
|
||||
rot swap [1+]
|
||||
swap ]
|
||||
negate swap
|
||||
[] swap witheach
|
||||
[ dip [ over i^ + ]
|
||||
of join ]
|
||||
nip ] is csort ( [ n n --> [ )
|
||||
|
||||
[] 15 times
|
||||
[ 10 random 10 + join ]
|
||||
|
||||
dup say "Before: " echo cr
|
||||
10 19 csort
|
||||
say "After: " echo
|
||||
Loading…
Add table
Add a link
Reference in a new issue