Next Previous Up Top Contents Index

4 The COMMON-LISP Package

defpackage

Macro

Summary

Remains as defined in Common Lisp, but see *handle-existing-defpackage* for an HCL extension.
Package

common-lisp

Signature

defpackage defined-package-name option &key add-use-defaults => package

Arguments

defined-package-name

A string.

option

Keyword options.

add-use-defaults

A keyword

Values

package

A package.

Description

The macrodefpackage is as defined in the ANSI standard, with the inclusion of the:add-use-defaults keyword. However, the standard explicitly declines to define whatdefpackage does if defined-package-name already exists and is in a state that differs from that described by thedefpackage form.
Therefore an extension has been written that allows you to select between alternative behaviors. See *handle-existing-defpackage* for full details.
If add-use-defaults is specified with the argumentt, the following packages are included in the defined package:
  • common-lisp
  • lispworks
  • harlequin-common-lisp
See also

*handle-existing-defpackage*

LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker