Open roine opened 7 years ago
This error message bugged me for quite a while until I understood that the Tuple couldn't contain a type prior to be inserted to a Set.
Here's a sample of the phenomenon: https://ellie-app.com/4cJ5WNSqjwLa1/0
Function fromList is expecting the argument to be: List ( Olive, number ) But it is: List ( Olive, number )
A better error message could be:
Function fromList is expecting the argument to be: (comparable, comparable) But it is: (Olive, comparable)
This error message bugged me for quite a while until I understood that the Tuple couldn't contain a type prior to be inserted to a Set.
Here's a sample of the phenomenon: https://ellie-app.com/4cJ5WNSqjwLa1/0
A better error message could be: