Skip to content

Commit

Permalink
collectors: minor doc fixes (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgay authored Nov 9, 2024
2 parents d10a340 + 7ec5cb9 commit 549aeb2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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`

Expand Down

0 comments on commit 549aeb2

Please sign in to comment.