From 521ece8a40458d362712ff2cee3532d24112abf2 Mon Sep 17 00:00:00 2001 From: felipethome Date: Mon, 1 Aug 2016 14:19:50 -0300 Subject: [PATCH] Fix Ex 5 in the tutorial to match its expansion --- doc/1.0/tutorial.adoc | 1 + doc/1.0/tutorial.html | 1 + 2 files changed, 2 insertions(+) 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)