Both min and max have two-argument and Vararg versions. However, minmax only has 2-argument versions. It would be nice to extend minmax to the Vararg case, such that
minmax(x...)
is equivalent to returning
(min(x...),max(x...))
Both min and max have two-argument and Vararg versions. However, minmax only has 2-argument versions. It would be nice to extend minmax to the Vararg case, such that
minmax(x...)
is equivalent to returning
(min(x...),max(x...))
seems reasonable.
I noticed a few bugs around these functions, and filed an issue: min, min, minmax inconsistencies · Issue #61841 · JuliaLang/julia · GitHub