<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I *quite* like `extrema`/`indicesOfExtrema` over minmax.</div><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 17, 2016, at 10:03 AM, Patrick Pijnappel <<a href="mailto:patrickpijnappel@gmail.com" class="">patrickpijnappel@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I like the idea. A few notes on naming:<div class="">– <font face="monospace, monospace" class="">minIndex</font> is somewhat confusing to me (it sounds like it's getting the minimum index, i.e. indices.minElement()). How about <font face="monospace, monospace" class="">indexOfMin()</font><font face="arial, helvetica, sans-serif" class=""> or </font><font face="monospace, monospace" class="">indexOfMinElement()</font>?</div><div class="">– <font face="monospace, monospace" class="">minmax()</font> also doesn't read very well to me, plus it should technically be <font face="monospace, monospace" class="">minMax()</font> which is kinda ugly. Perhaps <font face="monospace, monospace" class="">limits()</font><font face="arial, helvetica, sans-serif" class=""> or </font><font face="monospace, monospace" class="">extrema()</font><font face="arial, helvetica, sans-serif" class="">? The latter would be the most correct mathematically. For the index form that</font><font face="arial, helvetica, sans-serif" class=""> would give e.g. </font><font face="monospace, monospace" class="">indicesOfExtrema()</font><font face="times new roman, serif" class="">.</font></div></div></div></blockquote></div><br class=""></body></html>