haskell-lectures/VL2/content/VL2_currying8.tex

6 rindas
380 B
TeX

So... now that we know what currying is, let's summarize:
\begin{itemizep}
\item all functions in haskell have only one argument (strictly speaking)
\item if a function seems to have multiple arguments... currying is used behind the scenes to evaluate it
\item currying also allows us to do partial function application (which is important for function composition)
\end{itemizep}