All pastes #922846 Raw Edit

plutonas

public text v1 · immutable
#922846 ·published 2008-02-29 01:45 UTC
rendered paste body
one way to think about it:

(defun count-chars1-1000 ()
  (let* ((sum 0)
	 (lst (loop for i from 1 to 1000
		 for num = (delete #\- (delete #\Space (format nil "~R" i)))
		 collect num
		 do (incf sum (length num)))))
    (print lst)
    sum))