48 ms·
How is this F# code difficult to read? let add n1 n2 = n1 + n2 Where do you spend time reading the types? Though it’s fully typed and if you pass an int a
by tigershark 8y ago
How is this F# code difficult to read?
let add n1 n2 = n1 + n2
Where do you spend time reading the types? Though it’s fully typed and if you pass an int and a string or some type for which the + operator is not defined you’ll get a compile time error.