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

[CAL@THINK-AQUINAS.ARPA: packages and common lisp (yuk)]



    Date: Mon, 17 Mar 86 04:52 EST
    From: Cliff Lasser <CAL@THINK-AQUINAS.ARPA>

    It appears that CL:MAKE-PACKAGE makes it necessary to refer to unexported
    symbols of that package as FOO::BAR as opposed to FOO:BAR.  Is there anyway
    to tell CL that ALL symbols of a package should be exported so that the
    behavior is the same as ZL:MAKE-PACKAGE?

For the record, Symbolics' implementation includes as extensions the
:EXTERNAL-ONLY (value T or NIL) and :COLON-MODE (value :INTERNAL or :EXTERNAL)
options to MAKE-PACKAGE for this purpose.  The former option exports all
symbols, the latter simply causes : to have the same effect as :: .
I don't know whether any other implementations have picked up these ideas.