Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1 +1 @@
|
|||
1 2 3 4 5 6 7 8 9
|
||||
_f()
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
_f()
|
||||
:[....]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
:[....]
|
||||
f:*x@1?#x
|
||||
|
|
|
|||
|
|
@ -1 +1,9 @@
|
|||
f:*x@1?#x
|
||||
:[
|
||||
0=#x; / if length of x is zero
|
||||
x; / then return x
|
||||
/ else
|
||||
,/( / join the results of:
|
||||
_f x@&x<f / sort (recursively) elements less than f (pivot)
|
||||
x@&x=f / element equal to f
|
||||
_f x@&x>f) / sort (recursively) elements greater than f
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,9 +1 @@
|
|||
:[
|
||||
0=#x; / if length of x is zero
|
||||
x; / then return x
|
||||
/ else
|
||||
,/( / join the results of:
|
||||
_f x@&x<f / sort (recursively) elements less than f (pivot)
|
||||
x@&x=f / element equal to f
|
||||
_f x@&x>f) / sort (recursively) elements greater than f
|
||||
]
|
||||
t@<t:1 3 5 7 9 8 6 4 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue