<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 18 November 2013 22:21, Julien Fischer <span dir="ltr"><<a href="mailto:jfischer@opturion.com" target="_blank">jfischer@opturion.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Do we?  According to the Mercury project's coding standard we limit them<br>
to 79 characters.  And indeed, that's what most of the code does.</blockquote><div><br></div><div>OK, which is it?  76 or 79?  I'm easy either way but I kind of want a solid number.  ;)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><span style="color:rgb(34,34,34)">I suggest having three versions:</span><br></div>
<br>
 - peek, which returns both the key and the value<br>
 - peek_key, which returns the smallest key<br>
 - peek_value, which returns the value corresponding to the smallest key<br></blockquote><div><br></div><div>I'll implement it that way tomorrow.</div><div><br>I'm at a bit of a loss for a use case of wanting to know the priority without the value, though.  Have you got one?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I prefer "unexpected($file, $pred, ..." since $pred already includes the<br>
module name.<br>
</blockquote></div><div class="gmail_extra"><br></div>Will change this tomorrow as well.<br><div><br></div>-- <br>"Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot."<br>
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
</div></div>