<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 3/6/2016 12:21 AM, Developer wrote:<br>
</div>
<blockquote
cite="mid:5242213D-6F41-4831-B1F2-840E0A369D83@gmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div>
<div>I think there's something to this, but I'd prefer it look a
bit more like what happened in SE-40 (<span
style="background-color: rgba(255, 255, 255, 0);"><a
moz-do-not-send="true"
href="https://github.com/apple/swift-evolution/blob/714dd43863775705cebc77574287ab0974bfa615/proposals/0040-attributecolons.md"><a class="moz-txt-link-freetext" href="https://github.com/apple/swift-evolution/blob/714dd43863775705cebc77574287ab0974bfa615/proposals/0040-attributecolons.md">https://github.com/apple/swift-evolution/blob/714dd43863775705cebc77574287ab0974bfa615/proposals/0040-attributecolons.md</a></a></span>)
so 'associativity' and 'precedence' are made to look more
compiler-construct-y.</div>
<div><br>
</div>
<div>
<div><font color="#000000"><span style="background-color:
rgba(255, 255, 255, 0);">infix operator <> { </span></font></div>
<div><font color="#000000"><span style="background-color:
rgba(255, 255, 255, 0);"> @associativity(left)</span></font></div>
<div><span style="background-color: rgba(255, 255, 255, 0);">
@precedence(100)</span></div>
<div>}</div>
</div>
</div>
</blockquote>
I'm not opposed to something like this either, however having actual
attributes inside curly braces here looks strange. I don't think
attributes are used in this way anywhere else.<br>
<blockquote
cite="mid:5242213D-6F41-4831-B1F2-840E0A369D83@gmail.com"
type="cite">
<div>
<div>As for assignment operators, if memory serves syntax for
them was quickly deprecated because they can be subsumed by
making the LHS of an infix operator inout. I'm not sure there
needs to be much more at the declaration site than that.</div>
</div>
</blockquote>
If this is the case, then removing assignment from the declaration
of all the stdlib operators could also be part of this proposal, or
broken out into a separate one if necessary.<br>
<br>
</body>
</html>