diff --git a/_sources/library-reference/collections/collectors.rst.txt b/_sources/library-reference/collections/collectors.rst.txt index b48fecf87..bce470ed7 100644 --- a/_sources/library-reference/collections/collectors.rst.txt +++ b/_sources/library-reference/collections/collectors.rst.txt @@ -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` diff --git a/library-reference/collections/collectors.html b/library-reference/collections/collectors.html index 4d66743ae..a1d1893f6 100644 --- a/library-reference/collections/collectors.html +++ b/library-reference/collections/collectors.html @@ -576,7 +576,7 @@
Retrieve the value of the collection associated with a collector.
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