|
- \ifger{Wer es unbedingt wissen will, der Grund warum wir \hinline{x} auslassen können ist, dass}{The reason we can omit the \hinline{x} here is that}
- \begin{haskellcode}
- f x y z = ...
- \end{haskellcode}
- \ifger{mehr oder weniger nur syntax sugar ist für}{is more or less just syntax sugar for}
- \begin{haskellcode}
- f = \x -> (\y -> (\z -> ... )) -- right-associative, ofc
- \end{haskellcode}
- \ifger{D.h. wir hätten auch folgendes schreiben können:}{That means we could have said:}
- \begin{haskellcode}
- addTwo :: Int -> Int
- addTwo = \x -> (addInt 2) x
- -- instead of
- addTwo x = (addInt 2) x
- \end{haskellcode}
|