|
|
@@ -8,4 +8,7 @@ sumPair :: (Int, Int) -> Int |
|
|
|
sumPair (x, y) = x + y |
|
|
|
\end{haskellcode} |
|
|
|
\pause |
|
|
|
\ifger{Hinweis: wir benutzen}{Note: we use} \hinline{(x, y)} \ifger{als Notation sowohl für den Typ als auch die Definition! Dies sind trotzdem 2 verschiedene Dinge. Wir können auch Triple, Quadruple etc. haben.}{notation for both the type and the definition! Those are still two different things. We can also have triples, quadruples etc.} |
|
|
|
\ifger{Hinweis: wir benutzen}{Note: we use} \hinline{(x, y)} \ifger{als Notation sowohl für den Typ als auch die Definition! Dies sind trotzdem 2 verschiedene Dinge. Wir können auch Triple, Quadruple etc. haben.}{notation for both the type and the definition! Those are still two different things. We can also have triples, quadruples etc.} |
|
|
|
\vspace{\baselineskip}\\ |
|
|
|
\pause |
|
|
|
\ifger{Frage: Unterschied zu Listen?}{Question: difference to lists?} |