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

Attribute List



    Date: Fri, 6 Apr 90 18:38 PDT
    From: Fisher@ALAN.kahuna.decnet.lasc-research.lockheed.com (Scott
	  Fisher)

    Dear SLUG,

    Suppose I want the File Attribute List to package enviroment 
    reflected in the statement below:

    (in-package '*lisp
		   :shadowing-import '(*lisp::boolean
    *lisp::delete-initialization *lisp::add-initialization) 
		   :use '(graphics scl))

    How do you do it?

    Scott Fisher

I don't understand the question.  Why do you need to import *LISP
symbols into the *LISP package?  And why are you changing the
package-use-list of a vendor-supplied package (for those of you who
aren't Thinking Machines customers, *LISP is the package containing
TMC's *Lisp language symbols).

I assume what you really want is an attribute list equivalent to the
form:

(in-package 'my-package :use '(*lisp graphics scl)
	    :shadowing-import '(*lisp::boolean *lisp::delete-initialization *lisp::add-initialization))

The following should work in the attribute list:

;;; -*- Mode: Lisp; Syntax: Common-Lisp; Package: (MY-PACKAGE :USE (*LISP GRAPHICS SCL) :SHADOWING-IMPORT (*LISP::BOOLEAN *LISP::DELETE-INITIALIZATION *LISP::ADD-INITIALIZATION) :COLON-MODE :EXTERNAL); Base: 10 -*-

                                                barmar