From 3ffeaf1f5dbf3e225dc536066d0fedda3f38ac70 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 15 May 2018 20:32:22 -0700 Subject: Removed "for all"-style iteration and changed "for % from 1 to 10"-style to "for % in 1 to 10" for consistency. --- lib/training_wheels.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/training_wheels.nom b/lib/training_wheels.nom index 9d717a8..19625bc 100644 --- a/lib/training_wheels.nom +++ b/lib/training_wheels.nom @@ -35,7 +35,7 @@ compile [function %args %body, lambda %args %body] to to %lua write ")\n " %body <-: %body as lua lua> "\%body:convert_to_statements('return ');" - for all %args.value: lua> "\%body:remove_free_vars(\%);" + for % in %args.value: lua> "\%body:remove_free_vars(\%);" to %lua write %body to %lua write "\nend)" return %lua -- cgit v1.2.3