Unfortunately, there are a lot of those.On Sun, Aug 30, 2020 at 7:28 AM Barry <barry@barrys-emacs.org> wrote:
How is it supposed to work with set or dict or other iterables without clear order?see the discussion in another recent thread about making dict indexable -- which looks like it's not going to happen.
so no -- this should not work with general iterables, indexes don't really make sense for iterables, only Sequences.
It would be as useful as:
>>> min(dict(b=1, c=3, a=2))
'a'
I half expected 1 (and from argmin would expect 'b') but I see
why the actual result is "consistent".
Jeff