<div dir="ltr"><div><div><div>FWIW, I would have at least written:<br><br>       ((qty (in-range 0 (add1 (min (floor (/ weight-left weight)) <br>                                    (floor (/ volume-left volume)))))))<br><br>

</div>Looks much more readable to me.<br></div>I would probably have taken the `(add1 ....)&#39; or the `(min ....)&#39;  (depending which one makes more sense to be on its own) out of the `range&#39;, because it seems semantically completely different to me.<br>

</div><div><div><div><div><div><br><div class="gmail_extra"><div class="gmail_quote">On Sun, Jun 9, 2013 at 7:54 PM, Matthias Felleisen <span dir="ltr">&lt;<a href="mailto:matthias@ccs.neu.edu" target="_blank">matthias@ccs.neu.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
     (struct-open item item1 weight value volume)<br></blockquote><br></div><div class="gmail_quote">I would love to see such an addition to core Racket!<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">

Laurent<br></div></div></div></div></div></div></div></div>