Search
Saturday, 22nd of July 2017, 14:11:34 UTC
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?
18:50:39
flip214
Ie. (WITH-ACCESSORS ((accessor other-package:accessor) ...) object ...)
18:50:45
Bike
with-accessors doesnt know anything about packages
18:50:50
flip214
to not duplicate "accessor"?
18:51:09
flip214
so, if I really needed that, I'd need to write a macro....
18:51:22
flip214
but for a single use (even with 9 lines) it won't be an improvement
18:54:06
pjb
Macros should be written for abstractions, not for textual substitutions.
18:54:14
pjb
You can always import the symbols!
21:04:42
alandipert
is a hash table with T as vals an idiomatic way to represent a set?
21:04:59
Bike
it's not uncommon. a "hash set".
21:05:51
White_Flame
you could also store the key as the value, handy in some cases
21:07:45
Shinmera
If your set is small enough, a list and pushnew works just fine too.
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:00:10
Posterdati
any hints? Thanks for help
22:02:46
Bike
Posterdati: looks like you expected a type specifier to be evaluated, but it wasn't
22:03:21
Posterdati
the error came up when loading iolib/syscalls
22:05:13
Posterdati
the funny thing is that I have another raspberry pi 3 with a cloned sdcard wich works
Sunday, 23rd of July 2017, 2:11:34 UTC