chickadee » library » set-parameterized-read-syntax!

set-parameterized-read-syntax! CHAR-OR-SYMBOL PROCprocedure

Similar to set-sharp-read-syntax!, but intended for defining reader syntax of the form #<NUMBER><CHAR> .... The handler procedure PROC will be called with two arguments: the input port and the number preceding the dispatching character. If the first argument is a symbol, then this procedure is equivalent to set-read-syntax!.

PROC may be #f to disable previously defined parameterized read syntax.