This commit is contained in:
Julian Ospald 2015-04-15 17:46:54 +02:00
rodzic 22aae2a262
commit b0c2e8ce9e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 220CD1C5BDEED020
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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