Talk:Multi-key quicksort

Slice syntax
I'm fine with your changing the slice syntax to "not include the same item in two parts", but I actually intended it the right index to be exclusive (as it is in Python and Cilk). I now notice that in Haskell, from which I stole the actual notation, .. denotes an inclusive range:

I do think, though, that we need a better, unambiguous notation. Do you think readers would understand a kind of half-open notation, viz.

a[0:i) a[i:j) a[j:length(a))

? Q VVERTYVS (hm?) 12:38, 9 April 2015 (UTC)


 * Do as you wish. :) I know the Pascal notation where  was inclusive, but I understand it is not widely used. Possibly some note about the expression meaning would be useful, possibly in the description after the code. If you think your notation is clear enough, just restore it, I'm not going to make a third revert anyway.--CiaPan (talk) 13:57, 9 April 2015 (UTC)


 * Changed it to my proposed syntax, and amended the footnote. Q VVERTYVS (hm?) 19:52, 9 April 2015 (UTC)