Mercurial Hosting > luan
diff website/src/diff.html.luan @ 390:bfbbce690bba
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 24 Apr 2015 12:31:13 -0600 |
parents | 497d4ef0a89f |
children | 2f5cc9c2cbf0 |
line wrap: on
line diff
--- a/website/src/diff.html.luan Fri Apr 24 12:25:50 2015 -0600 +++ b/website/src/diff.html.luan Fri Apr 24 12:31:13 2015 -0600 @@ -138,7 +138,7 @@ <p>The Luan generic <b>for</b> statement is simpler than the Lua version because Luan only uses and expression, not an explist. So a <b>for</b> statement like:</p> <p><tt><pre> - for var_1, ···, var_n in exp do block end + for var_1, ···, var_n in exp do block end </pre></tt></p> <p>is equivalent to the code:</p> @@ -147,7 +147,7 @@ do local f = exp while true do - local var_1, ···, var_n = f() + local var_1, ···, var_n = f() if var_1 == nil then break end block end