Re: package frenzy



Joris Bleys wrote:

So I guess what I want to do is to make sure that the result of the call to the read-line fn returns a symbol inside the :exported-package, but I don't know how to do so. Both ep-internal-fn and ep-external-fn are defined in the package :exporting-package (using in-package).

Ah! The reader will intern symbols in the package indicated by the special variable *PACKAGE*. At runtime, this could be anything (not necessarily either of your two packages). To control that, bind *PACKAGE* around the READ-LINE call:

  (let ((*package* <desired-package>))
    (read-line str nil nil))

	Paul
.