RosettaCodeData/Task/Multi-dimensional-array/Quackery/multi-dimensional-array-1.q...

16 lines
308 B
Plaintext

[ this ] is null ( --> [ )
[ 0 unrot
witheach
[ dip
[ behead rot ]
* + swap ]
drop ] is [a]-> ( [ [ --> n )
[ [] unrot
reverse
witheach
[ /mod rot
join swap ]
drop ] is ->[a] ( n [ --> [ )