Matrix transposition: Difference between revisions
m
→{{header|OCaml}}: Example didn't work when copy pasted because last binding was missing closing ';;' required in the toplevel.
(adding lambdatalk) |
m (→{{header|OCaml}}: Example didn't work when copy pasted because last binding was missing closing ';;' required in the toplevel.) |
||
Line 3,129:
[| 5; 6; 7; 8 |];
|]
;;
array2_display (Printf.printf " %d") print_newline (transpose a) ;;</syntaxhighlight>
|