Julian Ospald
9 anni fa
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: 220CD1C5BDEED020
1 ha cambiato i file con
1 aggiunte e
1 eliminazioni
-
VL2/content/VL2_more_ways_to_define_functions.tex
|
|
@@ -3,7 +3,7 @@ |
|
|
|
f :: Int -> Int |
|
|
|
f x = x + 1 |
|
|
|
\end{haskellcode} |
|
|
|
\ifger{Aber stellen wir uns vor, dass wir einige Hilfsfunktionen benötigen, die sehr spezifisch ist und eigentlich zur aktuellen Funktion gehört. In C würden wir diese vermutlich top-level deklarieren und \cinline{static} machen.}{But now imagine we need a helper function which is very specific to the current function. In C we would have to define this new helper function at top-level and would probably make it \cinline{static}.} |
|
|
|
\ifger{Aber stellen wir uns vor, dass wir eine Hilfsfunktion benötigen, die sehr spezifisch ist und eigentlich zur aktuellen Funktion gehört. In C würden wir diese vermutlich top-level deklarieren und \cinline{static} machen.}{But now imagine we need a helper function which is very specific to the current function. In C we would have to define this new helper function at top-level and would probably make it \cinline{static}.} |
|
|
|
\pause |
|
|
|
\vspace{\baselineskip} |
|
|
|
\\ |
|
|
|