projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f42139
)
Implement READ-LINES.
author
Chris Hanson
<org/chris-hanson/cph>
Fri, 7 Jan 2000 23:09:03 +0000
(23:09 +0000)
committer
Chris Hanson
<org/chris-hanson/cph>
Fri, 7 Jan 2000 23:09:03 +0000
(23:09 +0000)
v7/src/imail/imail-util.scm
patch
|
blob
|
history
diff --git
a/v7/src/imail/imail-util.scm
b/v7/src/imail/imail-util.scm
index a45a96039b785a325065f3b47f3e2dc020a620af..f0d76fbd683d49c844e52b12548ead1c9decfd87 100644
(file)
--- a/
v7/src/imail/imail-util.scm
+++ b/
v7/src/imail/imail-util.scm
@@
-1,6
+1,6
@@
;;; -*-Scheme-*-
;;;
-;;; $Id: imail-util.scm,v 1.
1 2000/01/04 22:51:15
cph Exp $
+;;; $Id: imail-util.scm,v 1.
2 2000/01/07 23:09:03
cph Exp $
;;;
;;; Copyright (c) 1999 Massachusetts Institute of Technology
;;;
@@
-154,6
+154,9
@@
(car tokens))
""))
\f
+(define (read-lines port)
+ (source->list (lambda () (read-line port))))
+
(define (read-header-lines port)
(source->list
(lambda ()