Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
[ stack ] is less ( --> s )
|
||||
|
||||
[ stack ] is same ( --> s )
|
||||
|
||||
[ stack ] is more ( --> s )
|
||||
|
||||
[ - -1 1 clamp 1+ ] is <=> ( n n --> n )
|
||||
|
||||
[ tuck take join swap put ] is append ( x s --> )
|
||||
|
||||
[ dup size 2 < if done
|
||||
[] less put
|
||||
[] same put
|
||||
[] more put
|
||||
behead swap witheach
|
||||
[ 2dup swap <=>
|
||||
[ table less same more ]
|
||||
append ]
|
||||
same append
|
||||
less take recurse
|
||||
same take join
|
||||
more take recurse join ] is quicksort ( [ --> [ )
|
||||
|
||||
[] 10 times [ i^ join ] 3 of
|
||||
dup echo cr
|
||||
quicksort echo cr
|
||||
Loading…
Add table
Add a link
Reference in a new issue