From: Bastian H. <ho...@fm...> - 2006-05-10 08:55:10
|
Hey, just looked at the feature request. list(Object... a) means (afaik) list(Object[] a) proposed solution: public static SchemePair list(Object[] a) { return list(a, 0); } public static SchemePair list(Object[] a, int index) { if (a.length == 0 || index >= a.length) return Pair.EMPTY; return new Pair(a[index], list(a, index+1)); } I've not tested it, but it might work... Should I create a patch or something? Basti |