aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/host/lua.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/host/lua.lux')
-rw-r--r--new-luxc/source/luxc/lang/host/lua.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/host/lua.lux b/new-luxc/source/luxc/lang/host/lua.lux
index 943b0377e..8f057bc29 100644
--- a/new-luxc/source/luxc/lang/host/lua.lux
+++ b/new-luxc/source/luxc/lang/host/lua.lux
@@ -87,7 +87,7 @@
(def: #export (cond! clauses else!)
(-> (List [Expression Statement]) Statement Statement)
- (list/fold (.function [[test then!] next!]
+ (list/fold (.function (_ [test then!] next!)
(if! test then! next!))
else!
(list.reverse clauses)))
@@ -139,7 +139,7 @@
(-> (List [Text Expression]) Expression)
(format "{"
(|> fields
- (list/map (.function [[key val]]
+ (list/map (.function (_ [key val])
(format key " = " val)))
(text.join-with ", "))
"}"))