Skip to content

Commit d51af06

Browse files
author
Gregory Cox
committed
Change hintbox tag from <p> to <div> in one location
1 parent 8cd0757 commit d51af06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/starting-out.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ <h2 id="an-intro-to-lists">An intro to lists</h2>
244244
<p>
245245
<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.
246246
</p>
247-
<p class="hintbox"><strong>Note:</strong> <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>
247+
<div class="hintbox"><strong>Note:</strong> <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.</div>
248248
<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>
249249
<pre name="code" class="haskell: ghci">
250250
ghci&gt; &quot;Steve Buscemi&quot; !! 6

0 commit comments

Comments
 (0)