Mercurial Hosting > luan
comparison src/luan/modules/BasicLuan.java @ 1340:b3c4fcf29a53
fix values() and minor Http_test
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 18 Feb 2019 05:11:50 -0700 |
parents | e0cf0d108a77 |
children | 2024d23ddd64 |
comparison
equal
deleted
inserted
replaced
1339:f61df1aee8e1 | 1340:b3c4fcf29a53 |
---|---|
168 Values(Object[] args) { | 168 Values(Object[] args) { |
169 super(true); | 169 super(true); |
170 this.args = args; | 170 this.args = args; |
171 } | 171 } |
172 | 172 |
173 @Override public Object[] call(Object[] args) { | 173 @Override public Object[] call(Object[] x) { |
174 if( i >= args.length ) | 174 if( i >= args.length ) |
175 return LuanFunction.NOTHING; | 175 return LuanFunction.NOTHING; |
176 Object val = args[i++]; | 176 Object val = args[i++]; |
177 return new Object[]{i,val}; | 177 return new Object[]{i,val}; |
178 } | 178 } |