RosettaCodeData/Task/Collections/OCaml/collections-4.ocaml

3 lines
83 B
Plaintext

# List.flatten [[1; 2]; [3; 4]; [5; 6; 7]] ;;
- : int list = [1; 2; 3; 4; 5; 6; 7]