Julian Ospald
9 yıl önce
ebeveyn
işleme
b0c2e8ce9e
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 220CD1C5BDEED020
1 değiştirilmiş dosya ile
1 ekleme ve
0 silme
-
VL1.tex
|
|
@@ -401,6 +401,7 @@ listLen :: [Integer] -> Integer |
|
|
|
listLen [] = 0 |
|
|
|
listLen (x:xs) = 1 + listLen xs |
|
|
|
\end{lstlisting} |
|
|
|
\pause |
|
|
|
We can also nest pattern matching: |
|
|
|
\begin{lstlisting} |
|
|
|
sumEveryTwo :: [Integer] -> [Integer] |
|
|
|