diff options
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -653,23 +653,6 @@ val listref(val list, val ind) return car(list); } -loc listref_l(val list, val ind) -{ - val olist = list; - val oind = ind; - - if (lt(ind, zero)) - ind = plus(ind, length_list(list)); - - for (; gt(ind, zero) && list; ind = minus(ind, one)) - list = cdr(list); - if (ge(ind, zero) && consp(list)) - return car_l(list); - - uw_throwf(error_s, lit("~s has no assignable location at ~s"), - olist, oind, nao); -} - loc tail(val cons) { while (consp(cdr(cons))) |