basically having this:
[ [1;2;3]; [4;5;7]; [8;9;0]; ]
I would like to get this (read vertically/ turn 90 degrees):
[ [1;4;8]; [
I would do it by converting to arrays -
let arr = input |> List.map (List.toArray) |> List.toArray //a array of arrays let out = Array2D.create size1 size2 (fun x y -> arr.[y].[x])