KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ Five easy pieces #4: Little Six Re: Five easy pieces #4: Little Six

  • SJT

    Member
    March 19, 2024 at 10:55 am

    Nice!

    Interesting that you have used bracket notation for the Do iteration; that is, {x[5 0 4 1 3 2]}[5;i] rather than 5 {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

    1. Can you do the shuffle without a lambda?
    2. Try using cut for the envoi