Julian Ospald
9 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 220CD1C5BDEED020
共有
1 個文件被更改,包括
1 次插入 和
1 次删除
-
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} |
|
|
|
\\ |
|
|
|