Returns as Right the successfully constructed Map if there were no duplicate keys, as Left the first duplicate key encounted if there were duplicate keys
Returns as Right the successfully constructed set if there were no duplicates, as Left the first duplicate value encountered if there were duplicates
Returns as Right the successfully constructed SortedMap if there were no duplicate keys, as Left the first duplicate key encounted if there were duplicate keys