Is it possible to print full list without using cycle? I tried:
Console.WriteLine([1;2;3;4;5])
and it prints only three first elements:
A perhaps more functional way of doing it:
let nums = [1;2;3;4;5;6] let concat acc x = acc + " " + (string x) let full_list = List.fold concat "" nums printfn "%s" full_list