提交 3d7d20b7 编写于 作者: A antirez

Test: fix lshuffle by providing the "K" combinator.

上级 967ad364
......@@ -376,6 +376,8 @@ proc stop_write_load {handle} {
catch {exec /bin/kill -9 $handle}
}
proc K { x y } { set x }
# Shuffle a list. From Tcl wiki. Originally from Steve Cohen that improved
# other versions. Code should be under public domain.
proc lshuffle {list} {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册