<div dir="ltr">Hi Joe,<div><br></div><div>Syntactically, ":=" is not an operator because it does not produce an output sequence of items like "+" or "and" or "/". It is part of let and group-by clauses (which produce tuples) as well as variable and context item declarations (which contribute to the dynamic context).</div><div><br></div><div>From a pedagogical perspective, I would simply call it a variable binding, the important part being not to call it "assignment" to make clear that it is a functional and declarative language.</div><div><br></div><div>I hope these 2 cents help!</div><div><br></div><div>Kind regards,</div><div>Ghislain</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 21, 2016 at 1:01 AM Joe Wicentowski <<a href="mailto:joewiz@gmail.com">joewiz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br class="gmail_msg">
<br class="gmail_msg">
I could've sworn that ":=" had a name like "binding operator," but as far as I can see from the XPath or XQuery specs, it gives no name or description to this symbol other than appearances in EBNFs for LetBinding, GroupingSpec, VarDecl, and ContextItemDecl -- as a literal ":=".<br class="gmail_msg">
<br class="gmail_msg">
Does ":=" really have no name or plain English description in the spec?<br class="gmail_msg">
<br class="gmail_msg">
If so, this is surprising given its prominence in the let clause.  Having one would certainly be very useful when teaching the language.<br class="gmail_msg">
<br class="gmail_msg">
Thanks,<br class="gmail_msg">
Joe<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
<a href="mailto:talk@x-query.com" class="gmail_msg" target="_blank">talk@x-query.com</a><br class="gmail_msg">
<a href="http://x-query.com/mailman/listinfo/talk" rel="noreferrer" class="gmail_msg" target="_blank">http://x-query.com/mailman/listinfo/talk</a><br class="gmail_msg">
</blockquote></div>