let xs = Array2D.init 4 4 (fun x y -> x * 4 + y)printfn "[] = %A" xsprintfn "[1..2,1..2] = %A" xs.[1..2,1..2]
Standard input is empty
[] = [[0; 1; 2; 3] [4; 5; 6; 7] [8; 9; 10; 11] [12; 13; 14; 15]] [1..2,1..2] = [[5; 6] [9; 10]]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!