diff --git a/doc/1.0/tutorial.adoc b/doc/1.0/tutorial.adoc index 4a924933..934d7db4 100644 --- a/doc/1.0/tutorial.adoc +++ b/doc/1.0/tutorial.adoc @@ -157,6 +157,7 @@ syntax let = function (ctx) { let ident = ctx.next().value; ctx.next(); // eat `=` let init = ctx.expand('expr').value; // <1> + ctx.next(); // eat `;` return #` (function (${ident}) { ${ctx} // <2> diff --git a/doc/1.0/tutorial.html b/doc/1.0/tutorial.html index 72c93268..4ebfad14 100644 --- a/doc/1.0/tutorial.html +++ b/doc/1.0/tutorial.html @@ -277,6 +277,7 @@

5. Sweet Let

let ident = ctx.next().value; ctx.next(); // eat `=` let init = ctx.expand('expr').value; (1) + ctx.next(); // eat `;` return #` (function (${ident}) { ${ctx} (2)