<div dir="ltr"><div dir="ltr"><div>I agree with the proposal to make maximumBy left-biased, and to document this bias for both maximumBy and minimumBy.</div><div><br></div><div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">-- Dan Burton</div></div><br><input name="virtru-metadata" type="hidden" value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"expires":false,"isManaged":false},"attachments":{},"compose-id":"7","compose-window":{"secure":false}}"></div></div></div><br><div class="gmail_quote" style=""><div dir="ltr">On Thu, Jan 3, 2019 at 3:28 PM Mario Blažević <<a href="mailto:mblazevic@stilo.com">mblazevic@stilo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2018-12-28 8:18 a.m., Johannes Waldmann wrote:<br>
> Dear all,<br>
> <br>
> this was brought up on the GHC tracker (not by me)<br>
> <br>
> <a href="https://ghc.haskell.org/trac/ghc/ticket/15921" rel="noreferrer" target="_blank">https://ghc.haskell.org/trac/ghc/ticket/15921</a><br>
> <br>
> and it was suggested for discussion here.<br>
> <br>
> my summary: Data.List.maximumBy is right-biased,<br>
> minimumBy is left-biased, and none of this is documented.<br>
> <br>
<br>
Already discussed at least twice:<br>
<br>
<a href="https://mail.haskell.org/pipermail/haskell-cafe/2011-September/095150.html" rel="noreferrer" target="_blank">https://mail.haskell.org/pipermail/haskell-cafe/2011-September/095150.html</a><br>
<a href="https://mail.haskell.org/pipermail/libraries/2013-September/020721.html" rel="noreferrer" target="_blank">https://mail.haskell.org/pipermail/libraries/2013-September/020721.html</a><br>
<br>
There are justifications for the current behaviour, but documenting it <br>
can't harm anybody.<br>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
</blockquote></div></div>