haskell-lectures/VL1/content/VL1_what_is_haskell5.tex
2015-04-20 00:51:14 +02:00

7 lines
449 B
TeX

In haskell expressions are not evaluated until their results are actually needed. That has a lot of consequences, a few of them being:
\slidep
\begin{itemizep}
\item infinite data structures are now possible (recursive and non-recursive)
\item defining new control structures by just defining a function (since not everything is evaluated... who needs if-then-else anyway?)
\item important for compositional programming and efficiency
\end{itemizep}