You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Now let’s see how to write code that uses type classes!</p>
932
-
<p><br>
933
-
<br></p>
934
930
<p>Let’s build a small library for dictionaries mapping keys <codeclass="sourceCode haskell">k</code> to values <codeclass="sourceCode haskell">v</code></p>
935
931
<divclass="sourceCode" id="cb31"><preclass="sourceCode haskell"><codeclass="sourceCode haskell"><spanid="cb31-1"><ahref="#cb31-1" aria-hidden="true" tabindex="-1"></a><spanclass="kw">data</span><spanclass="dt">Dict</span> k v</span>
0 commit comments