You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
498 B

  1. Think of haskell functions as regular \emph{mathematical} functions.
  2. \slidep
  3. \vspace{\baselineskip}
  4. \begin{center}
  5. \includegraphics*[scale=0.6]{./images/function-machine.png}
  6. \end{center}
  7. \begin{itemizep}
  8. \item does this function write to the hard drive?
  9. \item does the output depend on anything else except the input (e.g. time, environment, ...)?
  10. \end{itemizep}
  11. \slidep
  12. \vspace{\baselineskip}
  13. It's all about \emph{input} and \emph{output} of functions! And that's it. Nothing else to worry about.