haskell-lectures/VL1/content/VL1_what_does_functional_me...

13 рядки
873 B
TeX

\ifger{Stell dir Haskell Funktionen als ganz normale \emph{mathematische Funktionen} vor.}{Think of haskell functions as regular \emph{mathematical} functions.}
\slidep
\vspace{\baselineskip}
\begin{center}
\includegraphics*[scale=0.35]{./images/function-machine.png}
\end{center}
\begin{itemizep}
\item \ifger{schreibt diese Funktion auf die Festplatte?}{does this function write to the hard drive?}
\item \ifger{hängt die Ausgabe von irgendetwas ausser der Eingabe ab (z.b. Zeit, Umgebung...)?}{does the output depend on anything else except the input (e.g. time, environment, ...)?}
\end{itemizep}
\slidep
\vspace{\baselineskip}
\ifger{Es geht tatsächlich nur um \emph{Eingabe} und \emph{Ausgabe} von Funktionen. Und sonst nichts! Wir haben keine anderen Sorgen.}{It's all about \emph{input} and \emph{output} of functions! And that's it. Nothing else to worry about.}