Skip to content

Commit 1e217f5

Browse files
update page
1 parent b22ec6d commit 1e217f5

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

docs/lectures/07-classes.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -927,10 +927,6 @@ <h2 id="type-classes-outline-3">Type Classes: Outline</h2>
927927
<br>
928928
<br>
929929
<br></p>
930-
<h2 id="using-typeclasses">Using Typeclasses</h2>
931-
<p>Now let’s see how to write code that uses type classes!</p>
932-
<p><br>
933-
<br></p>
934930
<p>Let’s build a small library for dictionaries mapping keys <code class="sourceCode haskell">k</code> to values <code class="sourceCode haskell">v</code></p>
935931
<div class="sourceCode" id="cb31"><pre class="sourceCode haskell"><code class="sourceCode haskell"><span id="cb31-1"><a href="#cb31-1" aria-hidden="true" tabindex="-1"></a><span class="kw">data</span> <span class="dt">Dict</span> k v</span>
936932
<span id="cb31-2"><a href="#cb31-2" aria-hidden="true" tabindex="-1"></a> <span class="ot">=</span> <span class="dt">Empty</span> <span class="co">-- empty dictionary</span></span>

lectures/07-classes.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -955,13 +955,6 @@ True
955955
<br>
956956
<br>
957957

958-
## Using Typeclasses
959-
960-
Now let's see how to write code that uses type classes!
961-
962-
<br>
963-
<br>
964-
965958
Let's build a small library for dictionaries mapping keys `k` to values `v`
966959

967960
```haskell

0 commit comments

Comments
 (0)