4 lines
103 B
Text
4 lines
103 B
Text
def transpose:
|
|
if (.[0] | length) == 0 then []
|
|
else [map(.[0])] + (map(.[1:]) | transpose)
|
|
end ;
|