(defun server-link (&optional (server +DEFAULT-SERVER+) (domain "4chan.org"))
"Return link to a suitable HTTP link to the domain/ip"
(concatenate 'string
"http://" server "." domain))
(defun thread-link (&key (id nil) (server +DEFAULT-SERVER+)
(bbs +DEFAULT-BOARD+) (post-number ""))
(concatenate 'string
(server-link server)
(if id
(concatenate 'string
"read/" bbs "/" id "/"
(num-to-str post-number))
(concatenate 'string "/" bbs))))
>>27
I actually understand memq, memv, assq, etc. because they are specialisations of slightly more sensibly named functions like member and assoc, but I will never understand why they chose RPLACA and RPLACD.
Name:
Anonymous2010-02-24 19:40
>>29
I'll get there, but I'm sure as hell redefining them to set-car! and set-cdr!