|
|
@@ -6,5 +6,11 @@ f x y z = x + y + z |
|
|
|
-- ...for this |
|
|
|
f = \x -> (\y -> (\z -> x + y + z)) -- right-associative |
|
|
|
\end{haskellcode} |
|
|
|
|
|
|
|
\ifger{Frage: was passiert, wenn wir nur $x = 3$ übergeben?}{Question: what happens if we just pass $x = 3$?} |
|
|
|
\ifger{Frage: was passiert, wenn wir nur $x = 3$ übergeben?}{Question: what happens if we just pass $x = 3$?} |
|
|
|
\vspace{\baselineskip} |
|
|
|
\\ |
|
|
|
\pause |
|
|
|
\ifger{Wieso nicht das?}{Why not this?} |
|
|
|
\begin{haskellcode} |
|
|
|
f = \x -> x + (\y -> y + (\z -> z)) -- no! |
|
|
|
\end{haskellcode} |