diff src/luan/modules/TableLuan.java @ 1334:c88b486a9511

make some Luan methods static
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 12 Feb 2019 22:53:57 -0700
parents 25746915a241
children e0cf0d108a77
line wrap: on
line diff
--- a/src/luan/modules/TableLuan.java	Tue Feb 12 22:33:40 2019 -0700
+++ b/src/luan/modules/TableLuan.java	Tue Feb 12 22:53:57 2019 -0700
@@ -14,7 +14,7 @@
 
 public final class TableLuan {
 
-	public static String concat(Luan luan,LuanTable list,String sep,Integer i,Integer j) throws LuanException {
+	public static String concat(LuanTable list,String sep,Integer i,Integer j) throws LuanException {
 		int first = i==null ? 1 : i;
 		int last = j==null ? list.length() : j;
 		StringBuilder buf = new StringBuilder();
@@ -24,7 +24,7 @@
 				break;
 			if( sep!=null && k > first )
 				buf.append(sep);
-			String s = luan.toString(val);
+			String s = Luan.luanToString(val);
 			buf.append(s);
 		}
 		return buf.toString();