I am trying to delcare a list of type string * string list (whose type is required in other functions), and I keep getting type mismatch errors. If I were to define a list as
let a = [("a" , "b")],
I get an error when I pass it into a function that expects type string * string list:
Error: This expression has type (string * string) list
but an expression was expected of type string * string list
The same error occurs when a declare it as let a = ["a" , "b"]. Why is this happening?