Browse Source

fixed a small error

master
parent
commit
2033e1a5e2
  1. 2
      categories.html
  2. BIN
      output.pdf

2
categories.html

@ -709,7 +709,7 @@ Haskell types is fractal:</p>
<section class="slide">
<h2 id="natural-transformation-examples-14">Natural Transformation Examples (1/4)</h2>
<pre><code class="haskell small">data List a = Nil | Cons a (List a)
toList :: [a] -> Tree a
toList :: [a] -> List a
toList [] = Nil
toList (x:xs) = Cons x (toList xs)</pre>
</code>

BIN
output.pdf

Binary file not shown.
Loading…
Cancel
Save