Open meooow25 opened 2 weeks ago
Unlike Map
, Set
documentation for any of the fromList
functions does not specify which element will be kept in case of duplicates. If we make it consistent, we should also mention it in the docs.
Edit: In fact Map
doesn't specify which key will be kept, only the value. But I suppose it would be weird if those did not match.
Are there any advantages in keeping the behavior unspecified? ...I can't think of any.
We should change this to be consistent.