could someone explain to me the type
string list -> ( string * string * string) list
specifically the return type because i don’t really understand
->indicates a function type from one type to another.
string listis the type of a list of strings.
string * string * stringis the type of a tuple of three strings.
(string * string * string) listis the type of a list of those tuples.
string list -> ( string * string * string) list is the type of a function which maps from a list of strings to a list of tuples of three strings.
Answered By – Chris
Answer Checked By – Willingham (BugsFixing Volunteer)