<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 28, 2014 at 6:46 AM, Richard A. O'Keefe <span dir="ltr"><<a href="mailto:ok@cs.otago.ac.nz" target="_blank">ok@cs.otago.ac.nz</a>></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"><div class=""><br>
On 25/04/2014, at 5:15 AM, Rustom Mody wrote:<br>
> x ÷ y   = divMod x y<br>
<br>
</div>This one looks wrong to me.<br>
In common usage, ÷ indicates plain old division,<br>
e.g., 3÷2 = 1½.<br>
See for example <a href="http://en.wikipedia.org/wiki/Table_of_mathematical_symbols" target="_blank">http://en.wikipedia.org/wiki/Table_of_mathematical_symbols</a><br>
<br>
One possibility would be<br>
<br>
> x ÷ y = x / y :: Rational<br>
<br>
<br></blockquote><div>Thanks Richard for (as usual!) look at that list with a fine-toothed comb<br><br>I started with writing a corresponding list for python:<br><a href="http://blog.languager.org/2014/04/unicoded-python.html">http://blog.languager.org/2014/04/unicoded-python.html</a><br>

<br></div><div>As you will see I mention there that ÷ mapped to divMod is one but hardly the only possibility.</div><br></div><div class="gmail_quote">That list is mostly about math, not imperative features and so carries over from python to haskell mostly unchanged.<br>

<br></div><div class="gmail_quote">Please (if you have 5 minutes) glance at it and give me your comments. I may then finish a similar one for Haskell.<br><br></div><div class="gmail_quote">Thanks <br></div><div class="gmail_quote">

Rusi<br></div><br><br clear="all"><br>-- <br><a href="http://www.the-magus.in" target="_blank">http://www.the-magus.in</a><br><a href="http://blog.languager.org" target="_blank">http://blog.languager.org</a><br><br>
</div></div>