Aug. 31, 2020
10:53 a.m.
On 31/08/2020 01:14, Christopher Barker wrote:
On Sun, Aug 30, 2020 at 7:28 AM Barry <barry@barrys-emacs.org <mailto: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. Unfortunately, there are a lot of those. 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