From 7ec5cb9f88103ce6bb39577368fef1e23883c56c Mon Sep 17 00:00:00 2001 From: Carl Gay Date: Sat, 9 Nov 2024 11:23:59 -0500 Subject: [PATCH] collectors: minor doc fixes --- .../source/library-reference/collections/collectors.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/source/library-reference/collections/collectors.rst b/documentation/source/library-reference/collections/collectors.rst index b48fecf87..bce470ed7 100644 --- a/documentation/source/library-reference/collections/collectors.rst +++ b/documentation/source/library-reference/collections/collectors.rst @@ -48,7 +48,7 @@ The collectors Module collect-into(a, 1); collect-into(b, 2); collect-into(c, 3); - values(collected(a), collected(b), collected(c) + values(collected(a), collected(b), collected(c)) end; // => #(1), #(2), #(3) @@ -105,9 +105,9 @@ The collectors Module .. code-block:: dylan - collecting () ... map(f, collected()) ... end + collecting () ...; do(f, collected()); ... end - collecting (a, b) ... map(f1, collected(a)); map(f2, collected(b)); ... end + collecting (a, b) ...; do(f1, collected(a)); do(f2, collected(b)); ... end :seealso: :macro:`collecting`