# generator examples

[JS](../..)⟩ [iteration](..) ⟩ custom generators

{% tabs %}
{% tab title="💈範例" %}
* [list](examples/list "mention") - <mark style="color:yellow;">**finite**</mark> arithmetic sequence.
* [integers](examples/integers "mention") - <mark style="color:red;">**infinite**</mark> non-negative integers: 0, 1, 2, 3 ...
* [fibonacci](examples/fibonacci "mention") - <mark style="color:red;">**infinite**</mark>/<mark style="color:yellow;">**finite**</mark> fibonacci numbers: 1, 1, 2, 3, 5, 8 ...
* [seq](examples/seq "mention") - yield values <mark style="color:yellow;">**sequentially**</mark>.
* [interleave](examples/interleave "mention") - <mark style="color:yellow;">**interleave**</mark> the values of [iterable](../iterable "mention")s.
* [zip](examples/zip "mention") - <mark style="color:yellow;">**zip**</mark> [iterable](../iterable "mention")s into a single [func](func "mention").
{% endtab %}

{% tab title="👥 相關" %}
* [Broken link](broken-reference "mention")s are [iterable](../iterator/iterable "mention")s.
{% endtab %}
{% endtabs %}
