1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 19:50:24 +02:00

doc: Use '@defvr' to introduce 'stream-null'.

* doc/ref/srfi-modules.texi (SRFI-41): Use @defvr to introduce
  'stream-null'.
This commit is contained in:
Mark H Weaver 2013-03-29 11:35:20 -04:00
parent 0ddf484d3e
commit 7bfbd2935f

View file

@ -3867,11 +3867,11 @@ and the two kinds of streams, accessors for both fields of a
@code{stream-pair}, and a lambda that creates procedures that return @code{stream-pair}, and a lambda that creates procedures that return
streams. streams.
@deffn {Scheme Variable} stream-null @defvr {Scheme Variable} stream-null
A promise that, when forced, is a single object, distinguishable from A promise that, when forced, is a single object, distinguishable from
all other objects, that represents the null stream. @code{stream-null} all other objects, that represents the null stream. @code{stream-null}
is immutable and unique. is immutable and unique.
@end deffn @end defvr
@deffn {Scheme Syntax} stream-cons object-expr stream-expr @deffn {Scheme Syntax} stream-cons object-expr stream-expr
Creates a newly-allocated stream containing a promise that, when forced, Creates a newly-allocated stream containing a promise that, when forced,