[Armedbear-devel] Strange behaviour of unexporting and defpackage
Eitaro Fukamachi
e.arrows at gmail.com
Sun Jan 11 17:30:19 UTC 2015
This is a reproducible script.
----
(defpackage unexport-test
(:export :a))
(eval-when (:compile-toplevel :load-toplevel :execute)
(when (find-package :unexport-test)
(do-symbols (symbol :unexport-test)
(unexport symbol :unexport-test))))
(defpackage unexport-test
(:export :a))
(prin1 (nth-value 1 (intern (string :a) :unexport-test)))
#+sbcl (sb-ext:exit) #-sbcl (cl-user::quit)
----
$ sbcl --load unexport-test.lisp
:EXTERNAL
$ ccl --load unexport-test.lisp
:EXTERNAL
$ abcl --load unexport-test.lisp
:INTERNAL
深町英太郎 (Eitaro Fukamachi)
On Sun, Jan 11, 2015 at 6:50 PM, Eitaro Fukamachi <e.arrows at gmail.com>
wrote:
> Hi ABCL developers,
>
> I found a strange behaviour of cl-colors happening only on ABCL.
>
> [Issue] Symbols won't be exported on ABCL
> https://github.com/tpapp/cl-colors/issues/6
>
> Though cl-colors unexports all symbols before defpackage when reloading
> the system, the :export clause in defpackage seems to be ignored.
> https://github.com/tpapp/cl-colors/blob/master/package.lisp#L5-L19
>
> Any ideas?
>
> Regards,
> Eitaro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20150112/7f74f67d/attachment.html>
-------------- next part --------------
_______________________________________________
Armedbear-devel mailing list
Armedbear-devel at common-lisp.net
http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
More information about the armedbear-devel
mailing list