Julian Ospald
9 роки тому
Не вдалося знайти GPG ключ що відповідає даному підпису
Ідентифікатор GPG ключа: 220CD1C5BDEED020
1 змінених файлів з
1 додано та
0 видалено
-
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] |
|
|
|