transpose package:jsaddle

O(n) The transpose function transposes the rows and columns of its JSString argument. Note that this function uses pack, unpack, and the list version of transpose, and is thus not very efficient.