diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-15 20:32:22 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-15 20:33:07 -0700 |
| commit | 3ffeaf1f5dbf3e225dc536066d0fedda3f38ac70 (patch) | |
| tree | ffd23e911254ad22593a9574b5c255d9bdf578ff /lib/training_wheels.nom | |
| parent | 0a95a264e5829153eb19bde54882e5c135d6bdad (diff) | |
Removed "for all"-style iteration and changed "for % from 1 to 10"-style
to "for % in 1 to 10" for consistency.
Diffstat (limited to 'lib/training_wheels.nom')
| -rw-r--r-- | lib/training_wheels.nom | 2 |
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 |
