readtable: add documentation for PUSH->READ
This commit is contained in:
parent
4d40be38d0
commit
42cd5a0678
6
read.scm
6
read.scm
|
@ -33,6 +33,12 @@
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(read-char port))))
|
(read-char port))))
|
||||||
|
|
||||||
|
;;; READ:
|
||||||
|
;;;
|
||||||
|
;;; (POS): Return (LIST FILENAME LINE-NUMBER OFFSET).
|
||||||
|
;;; (READ): Read the next character in the stream. Returns #F on EOF.
|
||||||
|
;;; (PUSH CHAR): Push CHAR such that it will be the next character read
|
||||||
|
;;; when (READ) is called.
|
||||||
(define port->read
|
(define port->read
|
||||||
(lambda (read-function filename)
|
(lambda (read-function filename)
|
||||||
(let ((line-number 1)
|
(let ((line-number 1)
|
||||||
|
|
Loading…
Reference in New Issue