help?> keys
search: keys keytype KeyError haskey getkey UndefKeywordError WeakKeyDict
keys(a::AbstractArray)
Return an efficient array describing all valid indices for a arranged
in the shape of a itself.
They keys of 1-dimensional arrays (vectors) are integers, whereas all
other N-dimensional arrays use CartesianIndex to describe their
locations. Often the special array types LinearIndices and
CartesianIndices are used to efficiently represent these arrays of
integers and CartesianIndexes, respectively.
Note that the keys of an array might not be the most efficient index
type; for maximum performance use eachindex instead.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
keys(iterator)
For an iterator or collection that has keys and values (e.g. arrays
and dictionaries), return an iterator over the keys.
[...]
True. So a better description of whatβs actually happening seems to be that findmin assumes that its argument type has a keys method (that is, findmin assumes its argument is either an array or a dictionary).
So, is this a Julia Base bug, a Combinatorics bug, or neither?