Skip to content

Commit 5487248

Browse files
author
root
committed
Add itertools' .join()
1 parent 4afda4c commit 5487248

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/itercheat/itercheat.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,21 @@ <h2>Values</h2>
729729
<td>\(\text{None}\)</td>
730730
</tr>
731731

732+
<tr>
733+
<td>IT</td>
734+
<td>join</td>
735+
<td>\(\{a_0, a_1, \ldots\, a_{n-1}\}\),</td>
736+
<td>\(sep: \text{&amp;str}\)</td>
737+
<td>\(
738+
\begin{array}{ll}
739+
d(a_0) \circ sep \circ d(a_1) \circ \ldots \circ sep \circ d(a_{n-1}) \text { wh.}\\~~
740+
d \text{ is Display::fmt, } \circ \text{ is string concatenation} \\
741+
\end{array}
742+
\)
743+
</td>
744+
</tr>
745+
746+
732747
<tr>
733748
<td rowspan="3">Std</td>
734749
<td rowspan="3">max</td>
@@ -1145,4 +1160,4 @@ <h2>Notes</h2>
11451160

11461161
</script>
11471162
</body>
1148-
</html>
1163+
</html>

0 commit comments

Comments
 (0)