I tried this:
open System
let main() =
let mutable str1 = "qwerty"
printfn "%c" str1[0]
main()
got this:
error FS0597: Successive arguments should be separated by spaces or tupled, and arguments involving function or method applications should be parenthesized
I found this site: https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/strings and here it's working I don't know why. I found other sites, where everyone said about parentheses
open System
let main() =
let mutable str1 = "qwerty"
printfn "%c" (str1[0])
main()
and got this:
error FS0003: This value is not a function and cannot be applied