Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.

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


6.17.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.