fixed a small error

This commit is contained in:
Yann Esposito (Yogsototh) 2012-12-12 23:38:04 +01:00
parent 05ce91da2b
commit 2033e1a5e2
2 changed files with 1 additions and 1 deletions

View file

@ -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>

Binary file not shown.