Skip to content

Commit 2fb91c3

Browse files
committed
insert space between colon and type in last few places
1 parent 03fe9c0 commit 2fb91c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_cheatsheets/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,18 @@ languages: [ba, fr, ja, pl, pt-br, zh-cn, th, ru]
9292
<tr>
9393
<td><pre class="highlight"><code>val zscore =
9494
(mean: R, sd: R) =&gt;
95-
(x:R) =&gt;
95+
(x: R) =&gt;
9696
(x - mean) / sd</code></pre></td>
9797
<td>Currying, obvious syntax.</td>
9898
</tr>
9999
<tr>
100-
<td><pre class="highlight"><code>def zscore(mean:R, sd:R) =
101-
(x:R) =&gt;
100+
<td><pre class="highlight"><code>def zscore(mean: R, sd: R) =
101+
(x: R) =&gt;
102102
(x - mean) / sd</code></pre></td>
103103
<td>Currying, obvious syntax.</td>
104104
</tr>
105105
<tr>
106-
<td><pre class="highlight"><code>def zscore(mean:R, sd:R)(x:R) =
106+
<td><pre class="highlight"><code>def zscore(mean: R, sd: R)(x: R) =
107107
(x - mean) / sd</code></pre></td>
108108
<td>Currying, sugar syntax. But then:</td>
109109
</tr>

0 commit comments

Comments
 (0)