What is the common lisp way to rename a namespace to something else. So instead of writing hunchentoot:start I could write ht:start.
I’m looking for something like pythons import A as B.
Edit: Using the accepted answer, the code for adding a nickname for hunchentoot is as follows:
(rename-package :hunchentoot :hunchentoot '(:ht))
What you call a namespace is a Common Lisp package created with
defpackageYou would like the package nickname to be
htPerforming a
defpackageon an existing package has implementation defined behavior, but some implementations permit adding nicknames that way.There is also a function
rename-packagethat renames and adds nicknames to a package.