From 811fdd685670d2eb8c6bcb9e6e103e57bf402ca8 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 29 Aug 2018 15:59:30 -0700 Subject: Tweaked version 3.6 to include deprecating list append/removal functions in favor of using a method call style. --- core/coroutines.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/coroutines.nom') diff --git a/core/coroutines.nom b/core/coroutines.nom index 1570ed7..80f3b60 100644 --- a/core/coroutines.nom +++ b/core/coroutines.nom @@ -12,7 +12,7 @@ test: -> 5 repeat 3 times: -> 6 - for % in coroutine %co: add % to %nums + for % in coroutine %co: %nums::add % assume (%nums == [4, 5, 6, 6, 6]) or barf "Coroutine iteration failed" compile [coroutine %body, generator %body] to (..) Lua value ".." -- cgit v1.2.3