Home › Forums › kdb+ › Five easy pieces #4: Little Six › Re: Five easy pieces #4: Little Six
-
Nice!
Interesting that you have used bracket notation for the Do iteration; that is,
{x[5 0 4 1 3 2]}[5;i]
rather than5 {x[5 0 4 1 3 2]}i
. I dont think it does anything for you here, but it means you could get a unary{x[5 0 4 1 3 2]}[5;]
to use in a composition.Now
- Can you do the shuffle without a lambda?
- Try using
cut
for the envoi