Another rarely used Lisp function is ensure-generic-function. This is used to create a dynamic function when one does not exist, or verify the compatibility of an existing dynamic function’s lambda list (think “argument list” in C++) with one supplied in the arguments.
To see an example of this in use, see the earlier article on add-method.