pub fn distinct<'a>(xs: impl Iterator<Item = &'a Value>) -> Vec<Value>Expand description
The elements with repeats removed under blue_equal, first occurrence
kept: the meaning of tatara’s distinct, in linear time for the scalars.
Two values blue_equal calls equal always share a key, so a value is
compared only with the kept values of its own key; values with no key
(lists, maps, functions, NaN) are compared with every kept keyless value.