11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
;;======================================================================
;; Process convience utils
;;======================================================================
(use regex)
(declare (unit process))
(declare (uses common))
(define (process:conservative-read port)
(let loop ((res ""))
(if (not (eof-object? (peek-char port)))
(loop (conc res (read-char port)))
res)))
|
|
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
;;======================================================================
;; Process convience utils
;;======================================================================
(use regex)
(declare (unit process))
;;(declare (uses common))
(define (process:conservative-read port)
(let loop ((res ""))
(if (not (eof-object? (peek-char port)))
(loop (conc res (read-char port)))
res)))
|