From f690959ef59004ba00d2d54073c9b8265e5b6d57 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 1 Dec 2022 21:03:45 +0100 Subject: add lines --- mew.svnwiki | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mew.svnwiki') diff --git a/mew.svnwiki b/mew.svnwiki index 6de85b1..c705e29 100644 --- a/mew.svnwiki +++ b/mew.svnwiki @@ -304,6 +304,15 @@ If {{}} is an input-port, read all data into a string. If {{}} is a string, read all data from the file named {{<>}. If {{}} is false, read all data from {{*current-input-port*}}. +(lines []) + +If {{}} is missing, return {{read-line}} (a generator that +reads lines from {{*current-input-port*}}). +If {{}} is an input-port, return a generator that reads lines +from {{}}. +If {{}} is a string, return a generator that reads lines +from the file named {{<>} and closes it on EOF. + == Equality -- cgit 1.4.1