freenode/#lisp - IRC Chatlog
Search
13:11:08
rk[ghost]
i find i spend more time trying to decide how fancy to be about a solution rather than just solving it and moving on.
13:14:41
rk[ghost]
it would probably suit me to spend a few days reading the common lisp hyperspec more or reading others code more than programming.. as it seems like every day i come across a new library function which implements something i already spent time implementing by hand.
13:24:22
pjb
rk[ghost]: notice that: (let* ((k1 "k1") (k2 "k2") (a (acons k1 1 (acons k2 2 nil)))) (assoc k2 a)) #| --> ("k2" . 2) |# works perfectly with strings and without :test.
13:26:12
pjb
rk[ghost]: on the other hand: (assoc :foo '((bar . 1) (foo . 2))) #| --> nil |# doesn't work as you expect without :test! (assoc :foo '((bar . 1) (foo . 2)) :test (function string=)) #| --> (foo . 2) |#
13:35:41
axion
shka_: It doesn't make much sense to use an intermediary vector when the input and output must be a list as mentioned
18:50:09
flip214
When the accessor functions for a class are in a different package, is there a shorter way than the 2-symbols-version of WITH-ACCESSORS to map them to symbols in the local package?
21:59:44
Posterdati
please I've got this error quickloading iolib/syscalls on armhf: ondition of type: SIMPLE-ERROR
21:59:44
Posterdati
[22:30:34] <Posterdati> `(VECTOR ,SI::ELT-TYPE (,LENGTH)) is not a valid type specifier.
22:05:13
Posterdati
the funny thing is that I have another raspberry pi 3 with a cloned sdcard wich works