RosettaCodeData/Task/Matrix-transposition/Quackery/matrix-transposition.quackery

14 lines
265 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
[ ' [ [ ] ]
over 0 peek size of
[] rot
witheach join
witheach
[ dip behead
nested join
nested join ] ] is transpose ( [ --> [ )
' [ [ 1 2 ] [ 3 4 ] [ 5 6 ] ]
dup echo cr cr
transpose dup echo cr cr
transpose echo cr