<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 28, 2014 at 10:59 AM, John M. Dlugosz <span dir="ltr"><<a href="mailto:ngnr63q02@sneakemail.com" target="_blank">ngnr63q02@sneakemail.com</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">Also, is the comma in a list different from the operator comma which is noted as right-associative precedence 5?  I had thought that the item separator in the list was special syntax that had very low precedence.  </blockquote>

</div><br></div><div class="gmail_extra">The _colon_ is a non-rebindable special-syntax operator with infixr 5.<br><br></div><div class="gmail_extra">Otoh, the _comma_ in a list is _not_ an operator but merely an item separator. <br>

<br>Comma-separated list notation e.g. [1,2,3] is special syntax that desugars to e.g. 1:2:3:[].<br clear="all"><div><br></div><div>Other than that, the colon and comma don't have anything else in common.<br></div><div>

<br>-- Kim-Ee</div>
</div></div>