aboutsummaryrefslogtreecommitdiff
path: root/lib/os.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-06 15:13:55 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-06 15:15:14 -0800
commitc8ccbe5f42b5a197010b5ee95491dce5b9bbcbf4 (patch)
treedb2259bad177e558067a7cc2ea09836749242009 /lib/os.nom
parent0f17c5eb9ac4660f2f969bd1e67af42713e45eac (diff)
Removed utils.lua, simplified some metaprogramming stuff, added native support
for calling functions with (%a %b %c) instead of (call %a with [%b, %c]), renamed _List -> List, _Dict -> Dict, improved example code.
Diffstat (limited to 'lib/os.nom')
-rw-r--r--lib/os.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os.nom b/lib/os.nom
index 2bd91ad..00fe81f 100644
--- a/lib/os.nom
+++ b/lib/os.nom
@@ -32,7 +32,7 @@ test:
(%expr for file %f in %path) compiles to (..)
Lua value "\
..(function()
- local ret = _List{}
+ local ret = List{}
for i,\(%f as lua expr) in Files.walk(\(%path as lua expr)) do
ret[#ret+1] = \(%expr as lua statements)
end