An easy way to implement 'reverse' and 'shuffle' without javascript

script pic
image
script pic
Edit: Added script for shuffle block as well

Well this way doesn't require needing two custom blocks


I think this is the coolest way! No map, no custom blocks (except this one of course).

But in 6.6 (now in dev) reverse is a primitive. :~)

Yes.Hyperblocks!

Yes, but then this happens:
image

Oh. Yeah. That's because NUMBERS FROM works in big-to-little order (as well as little-to-big). In the APL library there's a version that reports an empty list in that case.