From 0034e4358534789b4b9889dd58f6c053959efb88 Mon Sep 17 00:00:00 2001 From: Tiago Katcipis Date: Mon, 18 Sep 2017 17:20:00 -0300 Subject: [PATCH] Add one more regard on the interactive shell --- proposal/1-scope-management.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proposal/1-scope-management.md b/proposal/1-scope-management.md index a1e8b9f3..153cb7f8 100644 --- a/proposal/1-scope-management.md +++ b/proposal/1-scope-management.md @@ -413,7 +413,8 @@ fn list() { ``` The **var** option requires more writing for the common -case of declaring new variables, but makes closures pretty +case of declaring new variables (specially on the interactive shell +this is pretty annoying), but makes closures pretty natural to write, you just manipulate the variables that exists lexically on your scope, like you would do inside a **if** or **for** block.