aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/python/runtime.jvm.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-04-06 08:32:41 -0400
committerEduardo Julian2018-04-06 08:32:41 -0400
commitca238f9c89d3156842b0a3d5fe24a5d69b2eedb0 (patch)
tree50ba106541f2357daf27393df28e8b263f7311e1 /new-luxc/source/luxc/lang/translation/python/runtime.jvm.lux
parent84d7e87817cd2c074653b34d028c8fa807febc7f (diff)
- Adapted new-luxc's code to latest stdlib changes.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/python/runtime.jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/python/runtime.jvm.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/translation/python/runtime.jvm.lux b/new-luxc/source/luxc/lang/translation/python/runtime.jvm.lux
index e8f564745..6319c2121 100644
--- a/new-luxc/source/luxc/lang/translation/python/runtime.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/python/runtime.jvm.lux
@@ -81,7 +81,7 @@
_
(` (let [(~+ (|> (list.zip2 argsC+ argsLC+)
- (list/map (function [[left right]]
+ (list/map (function (_ [left right])
(list left (` (@@ (~ right))))))
list/join))]
(python.def! (~ $runtime)
@@ -91,7 +91,7 @@
(syntax: (with-vars [vars (s.tuple (p.many s.local-symbol))]
body)
(wrap (list (` (let [(~+ (|> vars
- (list/map (function [var]
+ (list/map (function (_ var)
(list (code.local-symbol var)
(` (python.var (~ (code.text (lang.normalize-name var))))))))
list/join))]