Created
August 3, 2010 00:25
-
-
Save tcha-tcho/505577 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"the uggglyest thing i ever build to sort random... but thats it | |
let l:new_list = [] | |
for item in g:kata_1 | |
let l:indx = Urndm(0,5) | |
let l:item_to_move = deepcopy(g:kata_1[l:indx]) | |
call remove(g:kata_1, l:indx) | |
call add(g:kata_1, l:item_to_move) | |
endfor | |
g:kata_1 = deepcopy(l:new_list) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment