libera/#sbcl - IRC Chatlog
Search
8:54:22
Krystof
you wanted a limited-range value which takes a machine word but not conflated with floats or fixnums. Characters meet that brief :-)
8:56:58
Krystof
the BMP private use area u+e000 to u+f8ff is well over 10 bits if you do want to pursue using characters
9:09:12
Krystof
(and, yes, if you wanted your own distict type you would have to modify sbcl sources; your new thing would need its own widetag. We might be short of widetags on 32-bit platforms; on 64-bits we probably still have some space. If you wanted a specialized array too that would mean more widetags and more modification)
14:37:57
phoe
https://plaster.tymoon.eu/view/2876#2876 <- how do I exactly use *ON-PACKAGE-VARIANCE*?
14:38:23
phoe
it doesn't seem that it has any effect when I modify it in the way I read in the manual
14:49:21
semz
phoe: it's really counterintuitive, but putting your package into the :error list is how you make it modifiable
14:50:11
phoe
semz: I don't understand - I don't care about :ERROR, I want to simply avoid a warning
15:10:42
phoe
or does DEFPACKAGE not have an option where, on package variance, it ignores the old values and reshapes the package according to the new definition?
16:08:16
mfiano
I'm not sure what "this" is, but all this does is adds restarts to un-export symbols so you don't get any warnings.
16:10:59
mfiano
phoe: It's a list of :WARN and :ERROR, where the values are either T for the defaults, or a list of packages.
16:13:03
phoe
I'm confused about where is the option to silently remove the exports that are missing in the new package definition
16:16:08
mfiano
I think erroring and being able to select what happens is more useful, that the "always warn which slime treats as a failure"