Skip to content

Commit 04e1e91

Browse files
committed
updated lec 5 hw slide
1 parent 7a73b6b commit 04e1e91

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

L05_files/tree.png

7.29 KB
Loading

lec05.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,10 +600,12 @@ <h1>Homework</h1>
600600
<h2>Trees in Haskell</h2>
601601
<ol>
602602
<li>Fill out <a target="_blank" href="https://docs.google.com/forms/d/1Jc0H2JCWLuVFN97iLXqqZHTFpznOKv8_C7WDm6FnzYg/viewform">this week's form!</a></li>
603+
603604
<li>Create a binary tree data type of Int nodes</li>
604605
<pre><code class="haskell">data Tree = ... </code></pre>
605606
<li>Write a function to sum all nodes in the tree</li>
606607
<pre><code class="haskell">add :: Tree -> Int</code></pre>
608+
<center><a target="_blank" href="http://en.wikipedia.org/wiki/Binary_tree"><img src="L05_files/tree.png"></img></a></center>
607609
</ol>
608610
</section>
609611

0 commit comments

Comments
 (0)