Julian Ospald
před 9 roky
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID GPG klíče: 220CD1C5BDEED020
1 změnil soubory, kde provedl
1 přidání a
0 odebrání
-
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] |
|
|
|