James (again!!) gives a few non-trivial examples of accumulators:
362
362
<span class="quote">“<span class="quote">
363
363
For instance, you may have an accumulator that ignores NULL returns from
365
365
to return the list of values returned by the closures.
366
366
</span>”</span>
367
367
</p></div>
368
<div id="ftn.id546945" class="footnote"><p><a href="#id546945" class="para"><sup class="para">[9] </sup></a>A GQuark is an integer which uniquely represents a string. It is possible to transform
368
<div id="ftn.id-1.3.5.3.8.3.2" class="footnote"><p><a href="#id-1.3.5.3.8.3.2" class="para"><sup class="para">[9] </sup></a>A GQuark is an integer which uniquely represents a string. It is possible to transform
369
369
back and forth between the integer and string representations with the functions
370
<code class="function"><a href="./../glib/glib/glib-Quarks.html#g-quark-from-string">g_quark_from_string</a></code> and <code class="function"><a href="./../glib/glib/glib-Quarks.html#g-quark-to-string">g_quark_to_string</a></code>.
370
<code class="function"><a href="../glib/glib-Quarks.html#g-quark-from-string">g_quark_from_string</a></code> and <code class="function"><a href="../glib/glib-Quarks.html#g-quark-to-string">g_quark_to_string</a></code>.