From 968091b525f4148fc058e09ffe85b4acca2a0e49 Mon Sep 17 00:00:00 2001 From: "chris.double" Date: Mon, 18 Sep 2006 02:54:10 +0000 Subject: [PATCH] lazy-lists: help for llines --- contrib/lazy-lists/lazy-io.facts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/lazy-lists/lazy-io.facts b/contrib/lazy-lists/lazy-io.facts index 595887b2d9..a9743e5c4e 100644 --- a/contrib/lazy-lists/lazy-io.facts +++ b/contrib/lazy-lists/lazy-io.facts @@ -6,5 +6,10 @@ USING: help lazy-lists sequences ; HELP: lcontents { $values { "stream" "a stream" } } { $description "Returns a lazy list of all characters in the file. " { $link car } " returns the next character in the file, " { $link cdr } " returns the remaining characters as a lazy list. " { $link nil? } " indicates end of file." } -{ $see-also leach lmap ltake lsubset lfrom lfrom-by } ; +{ $see-also llines } ; + +HELP: llines +{ $values { "stream" "a stream" } } +{ $description "Returns a lazy list of all lines in the file. " { $link car } " returns the next lines in the file, " { $link cdr } " returns the remaining lines as a lazy list. " { $link nil? } " indicates end of file." } +{ $see-also lcontents } ;