Skip to content

Commit 146b1a3

Browse files
author
root
committed
Add itertools RepeatCall as a generator
1 parent 5487248 commit 146b1a3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/itercheat/itercheat.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h2>Generators</h2>
101101
<thead>
102102
<tr>
103103
<th>Lib</td>
104-
<th>Method</th>
104+
<th>Function</th>
105105
<th colspan="2">Input</th>
106106
<th>Output</th>
107107
</tr>
@@ -143,6 +143,12 @@ <h2>Generators</h2>
143143
<td colspan="2">\(a\)</td>
144144
<td>\(\{a, a, \ldots\}\)</td>
145145
</tr>
146+
<tr>
147+
<td>IT</td>
148+
<td data-doc-link="http://bluss.github.io/rust-itertools/doc/itertools/struct.RepeatCall.html">RepeatCall::new</td>
149+
<td colspan="2">\(f: () \rightarrow T\)</td>
150+
<td>\(\{f(), f(), \ldots\}\)</td>
151+
</tr>
146152
</tbody>
147153
</table>
148154

0 commit comments

Comments
 (0)