A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/HyperSpec/Body/f_rn_pkg.htm below:

CLHS: Function RENAME-PACKAGE

CLHS: Function RENAME-PACKAGE Function RENAME-PACKAGE

Syntax:

rename-package package new-name &optional new-nicknames => package-object

Arguments and Values:

package---a package designator.

new-name---a package designator.

new-nicknames---a list of string designators. The default is the empty list.

package-object---the renamed package object.

Description:

Replaces the name and nicknames of package. The old name and all of the old nicknames of package are eliminated and are replaced by new-name and new-nicknames.

The consequences are undefined if new-name or any new-nickname conflicts with any existing package names.

Examples:

 (make-package 'temporary :nicknames '("TEMP")) =>  #<PACKAGE "TEMPORARY">
 (rename-package 'temp 'ephemeral) =>  #<PACKAGE "EPHEMERAL">
 (package-nicknames (find-package 'ephemeral)) =>  ()
 (find-package 'temporary) =>  NIL
 (rename-package 'ephemeral 'temporary '(temp fleeting))
=>  #<PACKAGE "TEMPORARY">
 (package-nicknames (find-package 'temp)) =>  ("TEMP" "FLEETING")

Side Effects: None.

Affected By: None.

Exceptional Situations: None.

See Also:

make-package

Notes: None.

The following X3J13 cleanup issues, not part of the specification, apply to this section:
Copyright 1996-2005, LispWorks Ltd. All rights reserved.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4