2.9 Packages

In Table 2.4 we list all packages available in ECL. The nicknames are aliases for a package. Thus, system:symbol may be written as sys:symbol or si:symbol. The module field explains which library provides what package. For instance, the ASDF package is obtained when loading the ASDF library with (require 'asdf).

NameNicknameIn moduleDescription
COMMON-LISPCLECL coreMain Common Lisp package.
COMMON-LISP-USERCL-USERECL coreUser package.
CLOSMOPECL coreSymbols from the AMOP.
EXT ECL coreECL extensions to the language & library.
SYSTEMSI, SYSECL coreFunctions and variables internal to the implementation. Never to be used.
FFIECL coreForeign function interface
CMPCCMPThe compiler
SB-BSD-SOCKETS SOCKETSSockets library compatible with SBCL’s
SB-RTRT, REGRESSION-TESTRTTest units (customized for ECL)
ASDF ASDFSystem definition file with ECL customizations.

Table 2.4: ECL packages

2.9.1 C Reference

2.9.1.1 ANSI Dictionary

Common Lisp and C equivalence

Lisp symbolC function
exportcl_object cl_export(cl_narg narg, cl_object symbols, ...)
find-symbolcl_object cl_find_symbol(cl_narg narg, cl_object string, ...)
find-packagecl_object cl_find_package(cl_object name)
find-all-symbolscl_object cl_find_all_symbols(cl_object string)
importcl_object cl_import(cl_narg narg, cl_object symbols, ...)
list-all-packagescl_object cl_list_all_packages(void)
rename-packagecl_object cl_rename_package(cl_narg narg, cl_object package, cl_object new_name, ...)
shadowcl_object cl_shadow(cl_narg narg, cl_object symbols, ...)
shadowing-importcl_object cl_shadowing_import(cl_narg narg, cl_object symbols, ...)
delete-packagecl_object cl_delete_package(cl_object package)
make-packagecl_object cl_make_package(cl_narg narg, cl_object package_name, ...)
unexportcl_object cl_unexport(cl_narg narg, cl_object symbols, ...)
uninterncl_object cl_unintern(cl_narg narg, cl_object symbol, ...)
unuse-packagecl_object cl_unuse_package(cl_narg narg, cl_object package, ...)
use-packagecl_object cl_use_package(cl_narg narg, cl_object package, ...)
interncl_object cl_intern(cl_narg narg, cl_object string, ...)
package-namecl_object cl_package_name(cl_object package)
package-nicknamescl_object cl_package_nicknames(cl_object package)
package-shadowing-symbolscl_object cl_package_shadowing_symbols(cl_object package)
package-use-listcl_object cl_package_use_list(cl_object package)
package-used-by-listcl_object cl_package_used_by_list(cl_object package)
packagepcl_object cl_packagep(cl_object object)
package-error-package[Only in Common Lisp]