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
1 odebrání
-
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} |
|
|
|
\\ |
|
|
|