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 } ;