aboutsummaryrefslogtreecommitdiff
path: root/lib/training_wheels.nom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/training_wheels.nom')
-rw-r--r--lib/training_wheels.nom2
1 files changed, 1 insertions, 1 deletions
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