Skip to content

Instantly share code, notes, and snippets.

(ql:quickload :closer-mop)
(defclass foo ()
((bar :initarg :bar :initform nil :reader foo-bar)))
(defclass fuu (foo)
((baz :initarg :baz :initform nil :reader fuu-baz)))
(defmethod print-object ((f foo) stream)
(print-unreadable-object (f stream :type t)))
@phoe
phoe / package-local-nicknames.md
Last active March 27, 2025 15:53
Package-local nicknames in Common Lisp - a semishitpost about PLNs

Package-local nicknames in Common Lisp

Warning: this is a rant.

Warning: you have been warned.

Note: actually worthwhile content starts in the second subsection. You are free to skip the first one.

Story time