Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!aramis.rutgers.edu!geneva.rutgers.edu!hedrick From: hedrick@geneva.rutgers.edu (Charles Hedrick) Newsgroups: comp.lang.lisp,ru.qa Subject: Re: Allegro CL bug? Keywords: help Message-ID: Date: 3 Nov 88 01:20:35 GMT References: Distribution: inet Organization: Rutgers Univ., New Brunswick, N.J. Lines: 11 Unless you really don't know the number of dimensions of your array in advance, (apply #'aref array list) sounds to me like it's going to be inefficient. It's going to be particularly hard to produce good compiled code for it. I agree that apply is better than eval, but not by that much. At any rate, the inverse of aref in Allegro CL appears to be excl::.inv-s-aref. So you can probably do (apply #'excl::.inv-s-aref newvalue array subscript-list) This will work until we get Franz to make (setf (apply #'aref ... work.