[Swift-commit] r8229 - www/Swift-T
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Fri Aug 22 15:23:09 CDT 2014
Author: wozniak
Date: 2014-08-22 15:23:09 -0500 (Fri, 22 Aug 2014)
New Revision: 8229
Modified:
www/Swift-T/guide.html
Log:
Improve @prio
Modified: www/Swift-T/guide.html
===================================================================
--- www/Swift-T/guide.html 2014-08-22 20:17:00 UTC (rev 8228)
+++ www/Swift-T/guide.html 2014-08-22 20:23:09 UTC (rev 8229)
@@ -2984,7 +2984,8 @@
<div class="listingblock">
<div class="content">
<pre><tt>foreach i in [0:n-1] {
- @prio=i f(i);
+ @prio=i f(i); // or
+ int j = @prio=i f(i);
}</tt></pre>
</div></div>
<div class="paragraph"><p>In this case, <tt>f()</tt> will operate on higher values of <tt>i</tt> first.
@@ -3776,7 +3777,7 @@
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2014-08-22 15:14:23 RDT
+Last updated 2014-08-22 15:22:24 RDT
</div>
</div>
</body>
More information about the Swift-commit
mailing list