Improve currying slides

This commit is contained in:
Julian Ospald 2015-04-19 18:42:58 +02:00
부모 1864eb1ca5
커밋 410b9f252f
No known key found for this signature in database
GPG 키 ID: 220CD1C5BDEED020
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제

10
VL2.tex
파일 보기

@ -319,6 +319,16 @@ uncurry :: (a -> b -> c) -> (a, b) -> c
\end{haskellcode}
\end{frame}
\begin{frame}[fragile]
\frametitle{4. Currying (ctn.)}
So... now that we know what currying is, let's summarize:
\begin{itemize}[<+->]
\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{itemize}
\end{frame}
\section{5. Function composition}
\begin{frame}[fragile]