Skip to content

Commit 23870e0

Browse files
MoXczsmith558
andauthored
fix typo (#90)
Co-authored-by: Stanislav (Stanley) Modrak <44023416+smith558@users.noreply.github.com>
1 parent 6d8e61d commit 23870e0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/starting-out.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ <h1 style="margin-left:-3px">Starting Out</h1>
245245
<p>
246246
<span class="fixed">[1,2,3]</span> is actually just syntactic sugar for <span class="fixed">1:2:3:[]</span>. <span class="fixed">[]</span> is an empty list. If we prepend <span class="fixed">3</span> to it, it becomes <span class="fixed">[3]</span>. If we prepend <span class="fixed">2</span> to that, it becomes <span class="fixed">[2,3]</span>, and so on.
247247
</p>
248-
<p class="hintbox"><em>Note:</em> <span class="fixed">[]</span>, <span class="fixed">[[]]</span> and<span class="fixed">[[],[],[]]</span> are all different things. The first one is an empty list, the seconds one is a list that contains one empty list, the third one is a list that contains three empty lists.</p>
248+
<p class="hintbox"><em>Note:</em> <span class="fixed">[]</span>, <span class="fixed">[[]]</span> and<span class="fixed">[[],[],[]]</span> are all different things. The first one is an empty list, the second one is a list that contains one empty list, the third one is a list that contains three empty lists.</p>
249249
<p>If you want to get an element out of a list by index, use <span class="fixed">!!</span>. The indices start at 0.</p>
250250
<pre name="code" class="haskell: ghci">
251251
ghci&gt; "Steve Buscemi" !! 6

markdown/generated_html/starting-out.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ <h2 id="an-intro-to-lists">An intro to lists</h2>
325325
<div class="hintbox">
326326
<p><strong>Note:</strong> <code>[]</code>, <code>[[]]</code>
327327
and<code>[[],[],[]]</code> are all different things. The first one is an
328-
empty list, the seconds one is a list that contains one empty list, the
328+
empty list, the second one is a list that contains one empty list, the
329329
third one is a list that contains three empty lists.</p>
330330
</div>
331331
<p>If you want to get an element out of a list by index, use

markdown/source_md/starting-out.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ If we prepend `2` to that, it becomes `[2,3]`, and so on.
338338

339339
::: {.hintbox}
340340
**Note:** `[]`, `[[]]` and`[[],[],[]]` are all different things.
341-
The first one is an empty list, the seconds one is a list that contains one empty list, the third one is a list that contains three empty lists.
341+
The first one is an empty list, the second one is a list that contains one empty list, the third one is a list that contains three empty lists.
342342
:::
343343

344344
If you want to get an element out of a list by index, use `!!`.

0 commit comments

Comments
 (0)