libera/#commonlisp - IRC Chatlog
Search
11:36:43
White_Flame
any unadorned symbol which was read into the same current package will be the exact same EQ symbol
11:51:09
jackdaniel
pve: had an excellent suggestion, paste a minimized example of whatever it is that doesn't work for you
11:56:26
pve
mi6x3m: if you show the code, you will receive an answer in approximately one nanosecond :)
12:09:47
Shinmera
But if the project keeps trucking along as well as it has so far I very well might in the future :)
12:11:11
pve
Speaking of conditions, SBCL signals a warning when a defpackage form is evaluated and the package exports symbols that are not specified by the defpackage form ("WARNING: ... also exports the following symbols: ...").
12:11:40
pve
My tests show that CCL does not signal such a warning. Is this unique to SBCL, or do other implementations also do this?
12:12:09
jackdaniel
it is a warning that sbcl devs found to be an important clue to the programmer, it is not demanded by the standard
13:51:20
scymtym
the reason for SBCL's default behavior is that the specification says "If the new definition is at variance with the current state of that package, the consequences are undefined". the behavior can be customized: https://www.sbcl.org/manual/#Package-Variance
13:54:11
scymtym
counterintuitively, requesting the :ERROR behavior makes it easier for a compilation to succeed since restarts for (interactively) resolving the variance issues are established when an error is signaled but not when a warning is signaled
14:53:40
Demosthenex
https://github.com/gansm/finalcut looks so good, i may have to learn more about doing FFI in CL so i can use it
15:32:12
Demosthenex
and that's really what i want, is a lightweight TUI library for simple apps over ssh ;]
15:38:40
_death
right, I was talking about the aesthetics.. for turbovision there was https://github.com/magiblot/tvision .. my old TUI thing is still in deep freeze
16:57:23
phoe
pve: use UIOP:DEFINE-PACKAGE to avoid this warning since it also defines what happens in case of package variance
17:39:54
pve
phoe: Thanks for reminding me about uiop:define-package. This is about my capitalized-export library, which is pretty incompatible with sbcl's defpackage :) So with sbcl I just use make-package. But I'm going to add a note that the uiop version could be used too.