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

doc: Fix documentation for srfi-171.

* doc/ref/srfi-modules.texi (SRFI-171): Fix broken documentation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Linus Björnstam 2020-05-01 15:11:25 +02:00 committed by Ludovic Courtès
parent 087bb683c8
commit 922c3bd55c

View file

@ -5764,7 +5764,7 @@ and SRFI-158-styled generators respectively.
@deffnx {Scheme Procedure} port-transduce xform f identity reader port @deffnx {Scheme Procedure} port-transduce xform f identity reader port
Same as @code{list-reduce} but for ports. Called without a port, it Same as @code{list-reduce} but for ports. Called without a port, it
reduces over the results of applying @var{(reader)} until the reduces over the results of applying @var{reader} until the
EOF-object is returned, presumably to read from EOF-object is returned, presumably to read from
@code{current-input-port}. With a port @var{reader} is applied to @code{current-input-port}. With a port @var{reader} is applied to
@var{port} instead of without any arguments. If @var{identity} is @var{port} instead of without any arguments. If @var{identity} is
@ -6010,7 +6010,7 @@ be used to generalize something like @code{tsegment}:
@example @example
;; This behaves exactly like (tsegment 4). ;; This behaves exactly like (tsegment 4).
(list-transduce (tbatch (ttake 4) rcons) rcons (iota 10)) (list-transduce (tbatch (ttake 4) rcons) rcons (iota 10))
@result {} ((0 1 2 3) (4 5 6 7) (8 9)) @result{} ((0 1 2 3) (4 5 6 7) (8 9))
@end example @end example
@end deffn @end deffn