I am very new to F #.
I think arrays are still collections, so I could use Seqto iterate the array as follows:
[|"a"; "b"|] |> Seq.map (fun f -> printfn "a") |> ignore;;
But this does not work - it does not print anything. On the other hand, if I use Array, it prints the lines:
[|"a"; "b"|] |> Array.map (fun f -> printfn "a") |> ignore;;
Why is this?
stej source
share