summary refs log tree commit diff
path: root/mew.svnwiki
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-12-01 21:03:45 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-12-01 22:56:31 +0100
commitf690959ef59004ba00d2d54073c9b8265e5b6d57 (patch)
treed8dd2698ae088bfe321fd40e3724cf376bfd68af /mew.svnwiki
parent73b23b27998906ec479a995434ca5b664f0c0912 (diff)
downloadmew-f690959ef59004ba00d2d54073c9b8265e5b6d57.tar.gz
mew-f690959ef59004ba00d2d54073c9b8265e5b6d57.tar.xz
mew-f690959ef59004ba00d2d54073c9b8265e5b6d57.zip
add lines
Diffstat (limited to 'mew.svnwiki')
-rw-r--r--mew.svnwiki9
1 files changed, 9 insertions, 0 deletions
diff --git a/mew.svnwiki b/mew.svnwiki
index 6de85b1..c705e29 100644
--- a/mew.svnwiki
+++ b/mew.svnwiki
@@ -304,6 +304,15 @@ If {{<obj>}} is an input-port, read all data into a string.
 If {{<obj>}} is a string, read all data from the file named {{<<obj>>}.
 If {{<obj>}} is false, read all data from {{*current-input-port*}}.
 
+<procedure>(lines [<obj>])</procedure>
+
+If {{<obj>}} is missing, return {{read-line}} (a generator that
+reads lines from {{*current-input-port*}}).
+If {{<obj>}} is an input-port, return a generator that reads lines
+from {{<obj>}}.
+If {{<obj>}} is a string, return a generator that reads lines
+from the file named {{<<obj>>} and closes it on EOF.
+
 
 == Equality