From c8ccbe5f42b5a197010b5ee95491dce5b9bbcbf4 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 6 Nov 2018 15:13:55 -0800 Subject: 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. --- lib/os.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/os.nom') 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 -- cgit v1.2.3