O(n) The
transpose function transposes the rows and
columns of its
Text argument. Note that this function uses
pack,
unpack, and the list version of transpose, and is
thus not very efficient.
Examples:
>>> transpose ["green","orange"]
["go","rr","ea","en","ng","e"]
>>> transpose ["blue","red"]
["br","le","ud","e"]