Since there are overloads, it’s a bit tricky in this case to make the compiler understand. This is how it can be done.
let args = (@"foo.txt", "Hello!") let dummy = args |> File.WriteAllText
Since there are overloads, it’s a bit tricky in this case to make the compiler understand. This is how it can be done.
let args = (@"foo.txt", "Hello!") let dummy = args |> File.WriteAllText