public static Object setRest(Object x, Object y) { return (x is Pair) ? ((Pair)x).rest = y : error("Attempt to set-cdr of a non-Pair:" + stringify(x)); }