17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>zl</strong>: pkg-glo bal-package 396<br />

The package name search is independent of alphabetic case. However, this<br />

might be changed in the future for Common Lisp compatibility and should<br />

not be depended upon. In any event it is not considered good style to have<br />

two distinct packages whose names differ only in alphabetic case.<br />

<strong>zl</strong>:pkg-global-package<br />

The global package.<br />

Variable<br />

I<br />

<strong>zl</strong>:pkg-goto &optional pkg globally Function<br />

pkg can be a package or the name of a package. pkg is made the current<br />

package; in other words, the variable *package* is set to the package<br />

named by pkg. <strong>zl</strong>:pkg-goto can be useful to "put the keyboard inside" a<br />

package when you are debugging.<br />

pkg defaults to the user package.<br />

If globally is specified non-nil, then *package* is set with <strong>zl</strong>:setq-globally<br />

instead of setq. This is useful mainly in an init file, where you want to<br />

change the default package for user interaction, and a simple setq of<br />

*package* does not work because it is bound by z1:load when it loads the<br />

init file.<br />

sys:pkg-keyword-package<br />

The keyword package.<br />

Variable<br />

pkg-kill package Function<br />

Kill package by removing it from all package system data structures. The<br />

name and nicknames of package cease to be recognized package names. If<br />

package is used by other packages, it is un-used, causing its external symbols<br />

to stop being accessible to those packages. If other packages have<br />

relative names for package, the names are deleted.<br />

Any symbols in package still exist and their home package is not changed.<br />

If this is undesirable, evaluate (<strong>zl</strong>:mapatoms #'remob package nil) first.<br />

package can be a package or the name of a package.<br />

z1:pkg-name package Function<br />

Get the (primary) name of a package. The name is a string.<br />

It is an error if package is not a package object. (The phrase "it is an<br />

error" has special significance in Common Lisp. See the function<br />

package-name, page 390.) Note that <strong>zl</strong>:pkg-name is a structure-accessing<br />

function and does not check that its argument is a package object, only<br />

that it is some kind of an array with a leader.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!