diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-12-01 21:03:45 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-12-01 22:56:31 +0100 |
commit | f690959ef59004ba00d2d54073c9b8265e5b6d57 (patch) | |
tree | d8dd2698ae088bfe321fd40e3724cf376bfd68af /mew.svnwiki | |
parent | 73b23b27998906ec479a995434ca5b664f0c0912 (diff) | |
download | mew-f690959ef59004ba00d2d54073c9b8265e5b6d57.tar.gz mew-f690959ef59004ba00d2d54073c9b8265e5b6d57.tar.xz mew-f690959ef59004ba00d2d54073c9b8265e5b6d57.zip |
add lines
Diffstat (limited to 'mew.svnwiki')
-rw-r--r-- | mew.svnwiki | 9 |
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 |