diff --git a/VL2.tex b/VL2.tex index c828c62..c12ffa9 100644 --- a/VL2.tex +++ b/VL2.tex @@ -655,5 +655,70 @@ GHCi... \end{itemize} \end{frame} +\section{7. Reflection} +\begin{frame} +\frametitle{7. Reflection} +\tableofcontents[currentsection,hideothersubsections] +\end{frame} + +\subsection{7.1. What you should know} + +\begin{frame} +\frametitle{7.1. What you should know now} +\begin{itemize} +\item how to write polymorphic data types and functions +\item how you inline functions +\item what currying is and why we need it in haskell +\item how you compose functions +\item how to abstract out recursion patterns +\end{itemize} +\end{frame} + +\subsection{7.2. Questions for you} + +\begin{frame}[fragile] +\frametitle{7.2. Questions for you} +\begin{itemize} +\item what is the difference between \code{let} and \code{where}? +\item what is the difference between \code{foldr} and \code{foldl}? +\item how many arguments does a haskell function have (strictly speaking)? +\item what do you have to keep in mind in order to make function composition work? +\item can you define map and filter in terms of foldr? +\item what is eta reduction (or: eta abstraction)? +\end{itemize} +\end{frame} + +\section{8. References} + +\begin{frame} +\frametitle{8. References} +\tableofcontents[currentsection,hideothersubsections] +\end{frame} + +\subsection{8.1. Links} + +\begin{frame} +\frametitle{8.1. Further reading and useful links} +\begin{itemize} +\item the most popular haskell course from Brent Yorgey:\\ \url{https://www.seas.upenn.edu/~cis194/fall14/spring13/lectures.html} +\item very verbose and enthusiastic haskell book, good for reading once:\\ \url{http://learnyouahaskell.com} +\item collection of websites teaching haskell:\\ \url{https://github.com/bitemyapp/learnhaskell} +\item haskell programming tips (and wiki):\\ \url{https://wiki.haskell.org/Haskell_programming_tips} +\item the standard module (similar to libc in C):\\ \url{https://hackage.haskell.org/package/base-4.7.0.0/docs/Prelude.html} +\item debugging in haskell:\\ \url{https://wiki.haskell.org/Debugging} +\end{itemize} +\end{frame} + +\subsection{8.2. Sources} + +\begin{frame} +\frametitle{8.2. Sources} +\begin{itemize} +\item much content was borrowed or is based on the haskell course from Brent Yorgey:\\ \url{https://www.seas.upenn.edu/~cis194/fall14/spring13/lectures.html} +\item a few small pieces from the LYAH book \url{http://learnyouahaskell.com} +\item general information from wikipedia: \\ \url{https://en.wikipedia.org} +\item general information from haskell wiki: \\ \url{https://wiki.haskell.org} +\end{itemize} +\end{frame} \end{document} \ No newline at end of file