haskell-lectures/VL1/content/VL1_questions_for_you.tex

16 lines
498 B
TeX

\begin{itemize}
\item What are side effects?
\item What is referential transparency?
\item Can you have referential transparency with side effects?
\item What does the output of a haskell function depend on?
\item What is laziness?
\item When are types checked in haskell?
\item What are the differences between lists and pairs?
\end{itemize}
Is this a total or a partial function? Would you extend it? How?
\begin{haskellcode}
even :: Int -> Bool
f 0 = True
f 2 = True
f 4 = True
\end{haskellcode}