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)
.
Name | Nickname | In module | Description |
---|---|---|---|
COMMON-LISP | CL | ECL core | Main Common Lisp package. |
COMMON-LISP-USER | CL-USER | ECL core | User package. |
CLOS | MOP | ECL core | Symbols from the AMOP. |
EXT | | ECL core | ECL extensions to the language & library. |
SYSTEM | SI, SYS | ECL core | Functions and variables internal to the implementation. Never to be used. |
FFI |
| ECL core | Foreign function interface |
CMP | C | CMP | The compiler |
SB-BSD-SOCKETS | | SOCKETS | Sockets library compatible with SBCL’s |
SB-RT | RT, REGRESSION-TEST | RT | Test units (customized for ECL) |
ASDF | | ASDF | System definition file with ECL customizations. |
Common Lisp and C equivalence
Lisp symbol | C function |
---|---|
export | cl_object cl_export(cl_narg narg, cl_object symbols, ...) |
find-symbol | cl_object cl_find_symbol(cl_narg narg, cl_object string, ...) |
find-package | cl_object cl_find_package(cl_object name) |
find-all-symbols | cl_object cl_find_all_symbols(cl_object string) |
import | cl_object cl_import(cl_narg narg, cl_object symbols, ...) |
list-all-packages | cl_object cl_list_all_packages(void) |
rename-package | cl_object cl_rename_package(cl_narg narg, cl_object package, cl_object new_name, ...) |
shadow | cl_object cl_shadow(cl_narg narg, cl_object symbols, ...) |
shadowing-import | cl_object cl_shadowing_import(cl_narg narg, cl_object symbols, ...) |
delete-package | cl_object cl_delete_package(cl_object package) |
make-package | cl_object cl_make_package(cl_narg narg, cl_object package_name, ...) |
unexport | cl_object cl_unexport(cl_narg narg, cl_object symbols, ...) |
unintern | cl_object cl_unintern(cl_narg narg, cl_object symbol, ...) |
unuse-package | cl_object cl_unuse_package(cl_narg narg, cl_object package, ...) |
use-package | cl_object cl_use_package(cl_narg narg, cl_object package, ...) |
intern | cl_object cl_intern(cl_narg narg, cl_object string, ...) |
package-name | cl_object cl_package_name(cl_object package) |
package-nicknames | cl_object cl_package_nicknames(cl_object package) |
package-shadowing-symbols | cl_object cl_package_shadowing_symbols(cl_object package) |
package-use-list | cl_object cl_package_use_list(cl_object package) |
package-used-by-list | cl_object cl_package_used_by_list(cl_object package) |
packagep | cl_object cl_packagep(cl_object object) |
package-error-package | [Only in Common Lisp] |