Previous: , Up: Scheme Syntax   [Contents][Index]


6.18.1.6 Reader Extensions

Scheme Procedure: read-hash-extend chr proc
C Function: scm_read_hash_extend (chr, proc)

Install the procedure proc for reading expressions starting with the character sequence # and chr. proc will be called with two arguments: the character chr and the port to read further data from. The object returned will be the return value of read. Passing #f for proc will remove a previous setting.