From a4847190df926d35f7ece97da50a2a8b1462a24f Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 28 Jul 2022 02:44:45 -0400 Subject: Now statically resolving values from globals in pattern-matching. --- stdlib/source/experiment/tool/interpreter.lux | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stdlib/source/experiment') diff --git a/stdlib/source/experiment/tool/interpreter.lux b/stdlib/source/experiment/tool/interpreter.lux index c6e9c5de3..ad8092a5b 100644 --- a/stdlib/source/experiment/tool/interpreter.lux +++ b/stdlib/source/experiment/tool/interpreter.lux @@ -204,7 +204,7 @@ (loop (again [context [#configuration configuration #state state #source ..fresh_source] - multi_line? #0]) + multi_line? false]) (do ! [_ (if multi_line? (at Console write " ") @@ -217,11 +217,11 @@ {try.#Success [context' representation]} (do ! [_ (at Console write representation)] - (again context' #0)) + (again context' false)) {try.#Failure error} (if (ex.match? syntax.end_of_file error) - (again context #1) + (again context true) (exec (log! (ex.error ..error error)) - (again (has #source ..fresh_source context) #0)))))) + (again (has #source ..fresh_source context) false)))))) ))) -- cgit v1.2.3