3:30:55jasommfiano: it's not the number of lines of code, it's how long it takes to write the lines of code. I've written something similar before and I had some subtle bugs with my first implementation.
8:53:20moon-childare there guidelines about when to use rplaca/rplacd vs (setf (car/cdr))?
8:55:57flip214convention, I guess - and because SETF is much more familiar
8:56:03beachThey have no advantage, and they don't return the object being stored.
8:56:57beachRPLACA and RPLACD should be considered low-level functions to be used mainly by the person creating the Common Lisp system, just like SETQ.
8:58:56beach... and SYMBOL-FUNCTION, and (SETF SYMBOL-FUNCTION) too.
10:24:48seokHow do I load up projects in home directory in slime ?
10:37:43seoki moved my project to ~/.quicklisp/local-projects/ and it works
10:49:25MetaYanphoe: seok: common-lisp.net is unreachable for me as well.
11:07:01pjbmoon-child: rplaca is a function; (setf car) is a function too. (let ((cs (list (cons nil nil) (cons nil nil)))) (values (mapc #'rplaca cs '(1 2)) (mapc #'(setf cdr) '(44 55) cs))) #| --> ((1 . 44) (2 . 55)) ; (44 55) |# your choice.
11:08:07no-defun-allowedNope, Clozure does not implement (setf cdr) as a function, and that is allowed somewhere in the standard.
11:09:37no-defun-allowed(setf getf) would most likely not be a function, for example, as it might push a new property into the place without modifying list structure.
11:11:05pjbmoon-child: however, it looks like (function (setf car)) is not conforming: implementations could have no such function, and just hack setf, like for defstruct accessors.
11:11:39leo_song_https://common-lisp.net/ is dead?