22:37:52tempateon a different note, is it possible to change where a cons should point to in a list? That is, can I make the second element point to the fourth, removing therefore the third from the list?
22:39:11verisimilitudeYes, tempate; there are RPLACA and RPLACD functions for this, although you'll usually want to use (SETF CAR) and (SETF CDR).
22:54:02LdBethWell, try to stay with what it does rather than how it does
22:54:37aethprog and go instead of labels? something something lambda the ultimate something something
22:55:01pjbtempate: so the micro-optimization here is to choose between two local variable and a list, knowing that sometimes you will just throw away the list (ie. when the run length is 1).
22:55:53pjbtempate: also, since having a list is so important here, I would avoid `(1 ,i) and use instead (list 1 i). (actually I would use (setf run-length 1 item i)
5:58:25fiddlerwoaroofdxtr: one trick I've thought of is to use a cons cell where the car is a stack of previous items and the cdr is the remaining list
5:59:19fiddlerwoaroofThen you have FORWARD that is essentially (push (cadr cursor) (car cursor))
9:02:31splittistOnce again I am amazed by how a short period of concentrated thought is a substitute for hours of key bashing. And how hard it is to carve out time for concentrated thought.