6 lines
380 B
TeX
6 lines
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}
|