Skip to content

Commit

Permalink
Deploying to gh-pages from @ 549aeb2 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
cgay committed Nov 9, 2024
1 parent 5325fd3 commit 84bd2fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions _sources/library-reference/collections/collectors.rst.txt
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
6 changes: 3 additions & 3 deletions library-reference/collections/collectors.html
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ <h1>The collectors Module<a class="headerlink" href="#the-collectors-module" tit
<span class="w"> </span><span class="n">collect-into</span><span class="p">(</span><span class="n">a</span><span class="p">,</span><span class="w"> </span><span class="mi">1</span><span class="p">);</span>
<span class="w"> </span><span class="n">collect-into</span><span class="p">(</span><span class="n">b</span><span class="p">,</span><span class="w"> </span><span class="mi">2</span><span class="p">);</span>
<span class="w"> </span><span class="n">collect-into</span><span class="p">(</span><span class="n">c</span><span class="p">,</span><span class="w"> </span><span class="mi">3</span><span class="p">);</span>
<span class="w"> </span><span class="nb">values</span><span class="p">(</span><span class="n">collected</span><span class="p">(</span><span class="n">a</span><span class="p">),</span><span class="w"> </span><span class="n">collected</span><span class="p">(</span><span class="n">b</span><span class="p">),</span><span class="w"> </span><span class="n">collected</span><span class="p">(</span><span class="n">c</span><span class="p">)</span>
<span class="w"> </span><span class="nb">values</span><span class="p">(</span><span class="n">collected</span><span class="p">(</span><span class="n">a</span><span class="p">),</span><span class="w"> </span><span class="n">collected</span><span class="p">(</span><span class="n">b</span><span class="p">),</span><span class="w"> </span><span class="n">collected</span><span class="p">(</span><span class="n">c</span><span class="p">))</span>
<span class="k">end</span><span class="p">;</span>
<span class="c1">// =&gt; #(1), #(2), #(3)</span>
</pre></div>
Expand Down Expand Up @@ -680,9 +680,9 @@ <h1>The collectors Module<a class="headerlink" href="#the-collectors-module" tit
<dd class="field-odd"><p>Retrieve the value of the collection associated with a collector.</p>
</dd>
<dt class="field-even">Example<span class="colon">:</span></dt>
<dd class="field-even"><div class="highlight-dylan notranslate"><div class="highlight"><pre><span></span><span class="n">collecting</span><span class="w"> </span><span class="p">()</span><span class="w"> </span><span class="p">...</span><span class="w"> </span><span class="nb">map</span><span class="p">(</span><span class="n">f</span><span class="p">,</span><span class="w"> </span><span class="n">collected</span><span class="p">())</span><span class="w"> </span><span class="p">...</span><span class="w"> </span><span class="k">end</span>
<dd class="field-even"><div class="highlight-dylan notranslate"><div class="highlight"><pre><span></span><span class="n">collecting</span><span class="w"> </span><span class="p">()</span><span class="w"> </span><span class="p">...;</span><span class="w"> </span><span class="nb">do</span><span class="p">(</span><span class="n">f</span><span class="p">,</span><span class="w"> </span><span class="n">collected</span><span class="p">());</span><span class="w"> </span><span class="p">...</span><span class="w"> </span><span class="k">end</span>

<span class="n">collecting</span><span class="w"> </span><span class="p">(</span><span class="n">a</span><span class="p">,</span><span class="w"> </span><span class="n">b</span><span class="p">)</span><span class="w"> </span><span class="p">...</span><span class="w"> </span><span class="nb">map</span><span class="p">(</span><span class="n">f1</span><span class="p">,</span><span class="w"> </span><span class="n">collected</span><span class="p">(</span><span class="n">a</span><span class="p">));</span><span class="w"> </span><span class="nb">map</span><span class="p">(</span><span class="n">f2</span><span class="p">,</span><span class="w"> </span><span class="n">collected</span><span class="p">(</span><span class="n">b</span><span class="p">));</span><span class="w"> </span><span class="p">...</span><span class="w"> </span><span class="k">end</span>
<span class="n">collecting</span><span class="w"> </span><span class="p">(</span><span class="n">a</span><span class="p">,</span><span class="w"> </span><span class="n">b</span><span class="p">)</span><span class="w"> </span><span class="p">...;</span><span class="w"> </span><span class="nb">do</span><span class="p">(</span><span class="n">f1</span><span class="p">,</span><span class="w"> </span><span class="n">collected</span><span class="p">(</span><span class="n">a</span><span class="p">));</span><span class="w"> </span><span class="nb">do</span><span class="p">(</span><span class="n">f2</span><span class="p">,</span><span class="w"> </span><span class="n">collected</span><span class="p">(</span><span class="n">b</span><span class="p">));</span><span class="w"> </span><span class="p">...</span><span class="w"> </span><span class="k">end</span>
</pre></div>
</div>
</dd>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 84bd2fc

Please sign in to comment.