freenode/#lisp - IRC Chatlog
Search
15:01:19
dim
ccl and sbcl alike? (that might be the difference here, otherwise if you're interested I will nuke my asdf setup and reproduce)
17:52:37
jmarciano
for some reason I cannot connect to #emacs, so maybe here somebody knows how to (read from file in Emacs?
17:53:32
jmarciano
I am doing (with-temp-file *my-activity-file* (insert (prin1-to-string data))) while data is hash
18:45:04
pfdietz
If you just want to serialize and deserialize lisp objects to/from a file or stream, but not in readable format, then something like cl-store would be what you want. https://common-lisp.net/project/cl-store/
20:18:15
makomo
hi everyone, i'm using SLIME and have an ASDF system that has been loaded (created with quickproject). if i add to DEFPACKAGE a list of nicknames, what's the right thing to do for this change to take effect?
20:18:56
makomo
am i supposed to just re-eval the DEFPACKAGE form (not sure if that's legal)? or should i somehow reload the ASDF system?
20:23:24
makomo
rpg: from what i can see in CLHS "If the new definition is at variance with the current state of that package, the consequences are undefined; an implementation might choose to modify the existing package to reflect the new definition."
20:25:58
jackdaniel
makomo: since you are in development phase, you may see what implementation does and decide, if this is good enough for you
20:27:13
rpg
makomo: I've only ever done this with SBCL and ACL, which both seem to Do The Right Thing. Note that some changes like *removing* an export might not be reflected properly. But adding a nickname should not be a "demanding" change for the implementation.
20:29:40
rpg
Personally, I tend to do a lot of incremental compilation, and avoid full ASDF rebuilds for long periods of time. Old habits from developing systems that have complicated internal state that I don't like to destroy and rebuild
20:50:26
Fare
the bug I reported this week (based on a a sly issue) is pretty damning and must be fixed in next release
20:51:01
Fare
I'll try to do an interactive session where I reproduce the bug, add a test case, and hopefully fix the bug before I send an MR.
21:29:51
phoe
So i no longer have a ~/quicklisp directory lying around after a default installation.
21:30:53
phoe
removing an export causes warnings on SBCL, "package FOO also exports the following symbols: BAR, BAZ, QUUX, ...", and the compilation fails.
21:56:11
PuercoPope
phoe in sl{y,ime} you can do C-c x with a negative argument to unexport it automatically (and remove it from the defpackage
22:16:45
Shinmera
|3b|: Digging in the source gives me (typep (cffi::ensure-parsed-base-type 'foo) 'cffi::foreign-enum)
22:20:13
Shinmera
Checking whether a symbol names a certain kind of CFFI type seems like something that would generally be desirable though, so raising an issue/discussion to add that functionality would be worth it