Flux
Flux

Reputation: 10950

Where is the complete documentation of set-dispatch-macro-character?

I am trying to find the complete documentation of set-dispatch-macro-character. I have tried the HyperSpec, but it seems to be incomplete; the exact specification of the new-function argument is not mentioned. It only says that new-function is a "function designator" without stating how many arguments the function designator takes and what those arguments are.

Since the HyperSpec is incomplete, what are some canonical reference materials that Common Lisp programmers use to get the exact specifications of Common Lisp built-ins?

Upvotes: 0

Views: 116

Answers (1)

Barmar
Barmar

Reputation: 782785

The documentation of set-dispatch-macro-character contains the following cross-reference:

For more information about how the new-function is invoked, see Section 2.1.4.4 (Macro Characters).

The details you ask for are in that section. In particular, it says:

The reader macro function associated with the sub-character C2 is invoked with three arguments: the stream, the sub-character C2, and the infix parameter P.

Upvotes: 2

Related Questions