Skip to content

fix typo #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/starting-out.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ <h1 style="margin-left:-3px">Starting Out</h1>
<p>
<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.
</p>
<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>
<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>
<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>
<pre name="code" class="haskell: ghci">
ghci&gt; "Steve Buscemi" !! 6
Expand Down
2 changes: 1 addition & 1 deletion markdown/generated_html/starting-out.html
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ <h2 id="an-intro-to-lists">An intro to lists</h2>
<div class="hintbox">
<p><strong>Note:</strong> <code>[]</code>, <code>[[]]</code>
and<code>[[],[],[]]</code> are all different things. The first one is an
empty list, the seconds one is a list that contains one empty list, the
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>
</div>
<p>If you want to get an element out of a list by index, use
Expand Down
2 changes: 1 addition & 1 deletion markdown/source_md/starting-out.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ If we prepend `2` to that, it becomes `[2,3]`, and so on.

::: {.hintbox}
**Note:** `[]`, `[[]]` and`[[],[],[]]` 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.
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.
:::

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