[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Package operation in a bad place?

From: Raymond Toy
Subject: [Gcl-devel] Package operation in a bad place?
Date: Wed, 13 Apr 2016 18:48:54 -0700
User-agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b34 (linux)

If you compile something like:

(in-package "CL-USER")
(defun zot (x)
  (print x))
(print *package*)
(in-package "CL")
(cl:print *package*)
(defun zot-cl (x)
  (print 'zot-cl))

I get warnings from the second in-package that the in-package
operation is in a bad place.  What does that really mean?

If I load the result, CL-USER is printed twice, but zot-cl is actually
in the CL package, not CL-USER.

So what does this all really mean?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]