Restructure files
This commit is contained in:
parent
aa66512620
commit
1075baf401
@ -56,27 +56,27 @@
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{1. Why haskell?}
|
||||
\input{VL1_why_haskell1.tex}
|
||||
\input{./content/VL1_why_haskell1.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{1. Why haskell? (ctn.)}
|
||||
\input{VL1_why_haskell2.tex}
|
||||
\input{./content/VL1_why_haskell2.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{1. Why haskell? (ctn.)}
|
||||
\input{VL1_why_haskell3.tex}
|
||||
\input{./content/VL1_why_haskell3.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{1. Why haskell? (ctn.)}
|
||||
\input{VL1_why_haskell4.tex}
|
||||
\input{./content/VL1_why_haskell4.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{1. Why haskell? (ctn.)}
|
||||
\input{VL1_why_haskell5.tex}
|
||||
\input{./content/VL1_why_haskell5.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{2. What is haskell?}
|
||||
@ -88,54 +88,54 @@
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{2. What is haskell? (ctn.)}
|
||||
\input{VL1_what_is_haskell1.tex}
|
||||
\input{./content/VL1_what_is_haskell1.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{2.1. What does functional mean?}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{2.1. What does \textbf{functional} mean?}
|
||||
\input{VL1_what_is_haskell2.tex}
|
||||
\input{./content/VL1_what_is_haskell2.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{2.1. What does \textbf{functional} mean? (ctn.)}
|
||||
\input{VL1_what_is_haskell3.tex}
|
||||
\input{./content/VL1_what_is_haskell3.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{2.2. What does pure mean?}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{2.2. What does \textbf{pure} mean?}
|
||||
\input{VL1_what_is_haskell4.tex}
|
||||
\input{./content/VL1_what_is_haskell4.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{2.3. What does lazy mean?}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{2.3. What does \textbf{lazy} mean?}
|
||||
\input{VL1_what_is_haskell5.tex}
|
||||
\input{./content/VL1_what_is_haskell5.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{2.4. What does statically typed mean?}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{2.4. What does \textbf{statically typed} mean?}
|
||||
\input{VL1_what_is_haskell6.tex}
|
||||
\input{./content/VL1_what_is_haskell6.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{2.5. Summary}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{2.5. What is haskell again?}
|
||||
\input{VL1_what_is_haskell7.tex}
|
||||
\input{./content/VL1_what_is_haskell7.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{3. How to think haskell?}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{3. How to think haskell?}
|
||||
\input{VL1_think_haskell.tex}
|
||||
\input{./content/VL1_think_haskell.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{4. How to write haskell?}
|
||||
@ -149,97 +149,97 @@
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.1. Declarations}
|
||||
\input{VL1_write_haskell1.tex}
|
||||
\input{./content/VL1_write_haskell1.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{4.2. Arithmetic and co.}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.2. Arithmetic and co.}
|
||||
\input{VL1_write_haskell2.tex}
|
||||
\input{./content/VL1_write_haskell2.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{4.3. Functions and control structures}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.3. Functions and control structures}
|
||||
\input{VL1_write_haskell3.tex}
|
||||
\input{./content/VL1_write_haskell3.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.3. Functions and control structures (ctn.)}
|
||||
\input{VL1_write_haskell4.tex}
|
||||
\input{./content/VL1_write_haskell4.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.3. Functions and control structures (ctn.)}
|
||||
\input{VL1_write_haskell5.tex}
|
||||
\input{./content/VL1_write_haskell5.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{4.4. Lists}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.4. Lists}
|
||||
\input{VL1_write_haskell6.tex}
|
||||
\input{./content/VL1_write_haskell6.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.4. Lists (ctn.)}
|
||||
\input{VL1_write_haskell7.tex}
|
||||
\input{./content/VL1_write_haskell7.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.4. Lists (ctn.)}
|
||||
\input{VL1_write_haskell8.tex}
|
||||
\input{./content/VL1_write_haskell8.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.4. Lists (ctn.)}
|
||||
\input{VL1_write_haskell9.tex}
|
||||
\input{./content/VL1_write_haskell9.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{4.5. Pairs}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.5. Pairs}
|
||||
\input{VL1_write_haskell10.tex}
|
||||
\input{./content/VL1_write_haskell10.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{4.6. Algebraic Data Types}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.6. Algebraic Data Types}
|
||||
\input{VL1_write_haskell11.tex}
|
||||
\input{./content/VL1_write_haskell11.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.6. Algebraic Data Types (ctn.)}
|
||||
\input{VL1_write_haskell12.tex}
|
||||
\input{./content/VL1_write_haskell12.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.6. Algebraic Data Types (ctn.)}
|
||||
\input{VL1_write_haskell13.tex}
|
||||
\input{./content/VL1_write_haskell13.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.6. Algebraic Data Types (ctn.)}
|
||||
\input{VL1_write_haskell14.tex}
|
||||
\input{./content/VL1_write_haskell14.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.6. Algebraic Data Types (ctn.)}
|
||||
\input{VL1_write_haskell15.tex}
|
||||
\input{./content/VL1_write_haskell15.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.6. Algebraic Data Types (ctn.)}
|
||||
\input{VL1_write_haskell16.tex}
|
||||
\input{./content/VL1_write_haskell16.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4.6. Algebraic Data Types (ctn.)}
|
||||
\input{VL1_write_haskell17.tex}
|
||||
\input{./content/VL1_write_haskell17.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{5. Résumé}
|
||||
@ -254,28 +254,28 @@
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{5.1. Questions so far?}
|
||||
\input{VL1_resume1.tex}
|
||||
\input{./content/VL1_resume1.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{5.2. Common misconceptions}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{5.2. Common misconceptions}
|
||||
\input{VL1_resume2.tex}
|
||||
\input{./content/VL1_resume2.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{5.3. Difficulties}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{5.3. Difficulties}
|
||||
\input{VL1_resume3.tex}
|
||||
\input{./content/VL1_resume3.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{6. Toolchain}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{6. Toolchain}
|
||||
\input{VL1_toolchain.tex}
|
||||
\input{./content/VL1_toolchain.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{7. Reflection}
|
||||
@ -288,14 +288,14 @@
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{7.1. What you should know now}
|
||||
\input{VL1_reflection1.tex}
|
||||
\input{./content/VL1_reflection1.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{7.2. Questions for you}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{7.2. Questions for you}
|
||||
\input{VL1_reflection2.tex}
|
||||
\input{./content/VL1_reflection2.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{8. References}
|
||||
@ -309,14 +309,14 @@
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{8.1. Further reading and useful links}
|
||||
\input{VL_links.tex}
|
||||
\input{../common/content/VL_links.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{8.2. Sources}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{8.2. Sources}
|
||||
\input{VL_sources.tex}
|
||||
\input{../common/content/VL_sources.tex}
|
||||
\end{frame}
|
||||
|
||||
\end{document}
|
@ -50,110 +50,110 @@
|
||||
|
||||
\section{Why haskell?}
|
||||
|
||||
\input{VL1_why_haskell1.tex}
|
||||
\input{VL1_why_haskell2.tex}
|
||||
\input{VL1_why_haskell3.tex}
|
||||
\input{./content/VL1_why_haskell1.tex}
|
||||
\input{./content/VL1_why_haskell2.tex}
|
||||
\input{./content/VL1_why_haskell3.tex}
|
||||
\\\\
|
||||
\input{VL1_why_haskell4.tex}
|
||||
\input{VL1_why_haskell5.tex}
|
||||
\input{./content/VL1_why_haskell4.tex}
|
||||
\input{./content/VL1_why_haskell5.tex}
|
||||
|
||||
|
||||
\section{What is haskell?}
|
||||
|
||||
\input{VL1_what_is_haskell1.tex}
|
||||
\input{./content/VL1_what_is_haskell1.tex}
|
||||
|
||||
\subsection{What does functional mean?}
|
||||
|
||||
\input{VL1_what_is_haskell2.tex}
|
||||
\input{./content/VL1_what_is_haskell2.tex}
|
||||
\\\\
|
||||
\input{VL1_what_is_haskell3.tex}
|
||||
\input{./content/VL1_what_is_haskell3.tex}
|
||||
|
||||
\subsection{What does pure mean?}
|
||||
\input{VL1_what_is_haskell4.tex}
|
||||
\input{./content/VL1_what_is_haskell4.tex}
|
||||
|
||||
\subsection{What does lazy mean?}
|
||||
\input{VL1_what_is_haskell5.tex}
|
||||
\input{./content/VL1_what_is_haskell5.tex}
|
||||
|
||||
\subsection{What does statically typed mean?}
|
||||
\input{VL1_what_is_haskell6.tex}
|
||||
\input{./content/VL1_what_is_haskell6.tex}
|
||||
|
||||
\subsection{Summary}
|
||||
\input{VL1_what_is_haskell7.tex}
|
||||
\input{./content/VL1_what_is_haskell7.tex}
|
||||
|
||||
|
||||
\section{How to think haskell?}
|
||||
|
||||
\input{VL1_think_haskell.tex}
|
||||
\input{./content/VL1_think_haskell.tex}
|
||||
|
||||
|
||||
\section{How to write haskell?}
|
||||
|
||||
\subsection{Declarations}
|
||||
\input{VL1_write_haskell1.tex}
|
||||
\input{./content/VL1_write_haskell1.tex}
|
||||
|
||||
\subsection{Arithmetic and co.}
|
||||
\input{VL1_write_haskell2.tex}
|
||||
\input{./content/VL1_write_haskell2.tex}
|
||||
|
||||
\subsection{Functions and control structures}
|
||||
\input{VL1_write_haskell3.tex}
|
||||
\input{VL1_write_haskell4.tex}
|
||||
\input{VL1_write_haskell5.tex}
|
||||
\input{./content/VL1_write_haskell3.tex}
|
||||
\input{./content/VL1_write_haskell4.tex}
|
||||
\input{./content/VL1_write_haskell5.tex}
|
||||
|
||||
\subsection{Lists}
|
||||
\input{VL1_write_haskell6.tex}
|
||||
\input{VL1_write_haskell7.tex}
|
||||
\input{VL1_write_haskell8.tex}
|
||||
\input{./content/VL1_write_haskell6.tex}
|
||||
\input{./content/VL1_write_haskell7.tex}
|
||||
\input{./content/VL1_write_haskell8.tex}
|
||||
\\\\
|
||||
\input{VL1_write_haskell9.tex}
|
||||
\input{./content/VL1_write_haskell9.tex}
|
||||
|
||||
\subsection{Pairs}
|
||||
\input{VL1_write_haskell10.tex}
|
||||
\input{./content/VL1_write_haskell10.tex}
|
||||
|
||||
\subsection{Algebraic Data Types}
|
||||
\input{VL1_write_haskell11.tex}
|
||||
\input{VL1_write_haskell12.tex}
|
||||
\input{VL1_write_haskell13.tex}
|
||||
\input{VL1_write_haskell14.tex}
|
||||
\input{./content/VL1_write_haskell11.tex}
|
||||
\input{./content/VL1_write_haskell12.tex}
|
||||
\input{./content/VL1_write_haskell13.tex}
|
||||
\input{./content/VL1_write_haskell14.tex}
|
||||
\\\\
|
||||
\input{VL1_write_haskell15.tex}
|
||||
\input{./content/VL1_write_haskell15.tex}
|
||||
\\\\
|
||||
\input{VL1_write_haskell16.tex}
|
||||
\input{./content/VL1_write_haskell16.tex}
|
||||
\\\\
|
||||
\input{VL1_write_haskell17.tex}
|
||||
\input{./content/VL1_write_haskell17.tex}
|
||||
|
||||
|
||||
\section{Résumé}
|
||||
|
||||
\subsection{Questions so far?}
|
||||
\input{VL1_resume1.tex}
|
||||
\input{./content/VL1_resume1.tex}
|
||||
|
||||
\subsection{Common misconceptions}
|
||||
\input{VL1_resume2.tex}
|
||||
\input{./content/VL1_resume2.tex}
|
||||
|
||||
\subsection{Difficulties}
|
||||
\input{VL1_resume3.tex}
|
||||
\input{./content/VL1_resume3.tex}
|
||||
|
||||
|
||||
\section{Toolchain}
|
||||
\input{VL1_toolchain.tex}
|
||||
\input{./content/VL1_toolchain.tex}
|
||||
|
||||
|
||||
\section{Reflection}
|
||||
|
||||
\subsection{What you should know}
|
||||
\input{VL1_reflection1.tex}
|
||||
\input{./content/VL1_reflection1.tex}
|
||||
|
||||
\subsection{Questions for you}
|
||||
\input{VL1_reflection2.tex}
|
||||
\input{./content/VL1_reflection2.tex}
|
||||
|
||||
|
||||
\section{References}
|
||||
|
||||
\subsection{Links}
|
||||
\input{VL_links.tex}
|
||||
\input{../common/content/VL_links.tex}
|
||||
|
||||
\subsection{Sources}
|
||||
\input{VL_sources.tex}
|
||||
\input{../common/content/VL_sources.tex}
|
||||
|
||||
\end{document}
|
||||
|
@ -2,7 +2,7 @@ Think of haskell functions as regular \emph{mathematical} functions.
|
||||
\slidep
|
||||
\vspace{\baselineskip}
|
||||
\begin{center}
|
||||
\includegraphics*[scale=0.6]{function-machine.png}
|
||||
\includegraphics*[scale=0.6]{./images/function-machine.png}
|
||||
\end{center}
|
||||
\begin{itemizep}
|
||||
\item does this function write to the hard drive?
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
@ -60,7 +60,7 @@
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{1. Reiteration (ctn.)}
|
||||
\input{VL2_reiteration.tex}
|
||||
\input{./content/VL2_reiteration.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{2. Polymorphism}
|
||||
@ -72,12 +72,12 @@
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{2. Polymorphism (ctn.)}
|
||||
\input{VL2_polymorphism1.tex}
|
||||
\input{./content/VL2_polymorphism1.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{2. Polymorphism (ctn.)}
|
||||
\input{VL2_polymorphism2.tex}
|
||||
\input{./content/VL2_polymorphism2.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{3. More ways to define functions}
|
||||
@ -89,35 +89,35 @@
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{3. More ways to define functions (ctn.)}
|
||||
\input{VL2_define_functions1.tex}
|
||||
\input{./content/VL2_define_functions1.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{3.1. Where}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{3.1. Where}
|
||||
\input{VL2_define_functions2.tex}
|
||||
\input{./content/VL2_define_functions2.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{3.2. Let}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{3.2. Let}
|
||||
\input{VL2_define_functions3.tex}
|
||||
\input{./content/VL2_define_functions3.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{3.3. Let vs Where}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{3.3. Let vs Where}
|
||||
\input{VL2_define_functions4.tex}
|
||||
\input{./content/VL2_define_functions4.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{3.4. Anonymous functions}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{3.4. Anonymous functions}
|
||||
\input{VL2_define_functions5.tex}
|
||||
\input{./content/VL2_define_functions5.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{4. Currying}
|
||||
@ -129,42 +129,42 @@
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4. Currying (ctn.)}
|
||||
\input{VL2_currying1.tex}
|
||||
\input{./content/VL2_currying1.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4. Currying (ctn.)}
|
||||
\input{VL2_currying2.tex}
|
||||
\input{./content/VL2_currying2.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4. Currying (ctn.)}
|
||||
\input{VL2_currying3.tex}
|
||||
\input{./content/VL2_currying3.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4. Currying (ctn.)}
|
||||
\input{VL2_currying4.tex}
|
||||
\input{./content/VL2_currying4.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4. Currying (ctn.)}
|
||||
\input{VL2_currying5.tex}
|
||||
\input{./content/VL2_currying5.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4. Currying (ctn.)}
|
||||
\input{VL2_currying6.tex}
|
||||
\input{./content/VL2_currying6.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4. Currying (ctn.)}
|
||||
\input{VL2_currying7.tex}
|
||||
\input{./content/VL2_currying7.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{4. Currying (ctn.)}
|
||||
\input{VL2_currying8.tex}
|
||||
\input{./content/VL2_currying8.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{5. Function composition}
|
||||
@ -177,17 +177,17 @@
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{5. Function composition (ctn.)}
|
||||
\input{VL2_composition1.tex}
|
||||
\input{./content/VL2_composition1.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{5. Function composition}
|
||||
\input{VL2_composition2.tex}
|
||||
\input{./content/VL2_composition2.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{5. Function composition}
|
||||
\input{VL2_composition3.tex}
|
||||
\input{./content/VL2_composition3.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{6. Recursion patterns}
|
||||
@ -199,68 +199,68 @@
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6. Recursion patterns (ctn.)}
|
||||
\input{VL2_rec_patterns1.tex}
|
||||
\input{./content/VL2_rec_patterns1.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{6.1. Map}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.1. Map}
|
||||
\input{VL2_rec_patterns2.tex}
|
||||
\input{./content/VL2_rec_patterns2.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.1. Map (ctn.)}
|
||||
\input{VL2_rec_patterns3.tex}
|
||||
\input{./content/VL2_rec_patterns3.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.1. Map (ctn.)}
|
||||
\input{VL2_rec_patterns4.tex}
|
||||
\input{./content/VL2_rec_patterns4.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.1. Map (ctn.)}
|
||||
\input{VL2_rec_patterns5.tex}
|
||||
\input{./content/VL2_rec_patterns5.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{6.2. Filter}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.2. Filter}
|
||||
\input{VL2_rec_patterns6.tex}
|
||||
\input{./content/VL2_rec_patterns6.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.2. Filter (ctn.)}
|
||||
\input{VL2_rec_patterns7.tex}
|
||||
\input{./content/VL2_rec_patterns7.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{6.3. Fold}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.3. Fold}
|
||||
\input{VL2_rec_patterns8.tex}
|
||||
\input{./content/VL2_rec_patterns8.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.3. Fold (ctn.)}
|
||||
\input{VL2_rec_patterns9.tex}
|
||||
\input{./content/VL2_rec_patterns9.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.3. Fold (ctn.)}
|
||||
\input{VL2_rec_patterns10.tex}
|
||||
\input{./content/VL2_rec_patterns10.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.3. Fold (ctn.)}
|
||||
\input{VL2_rec_patterns11.tex}
|
||||
\input{./content/VL2_rec_patterns11.tex}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{6.3. Summary}
|
||||
\input{VL2_rec_patterns12.tex}
|
||||
\input{./content/VL2_rec_patterns12.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{7. Reflection}
|
||||
@ -273,14 +273,14 @@
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{7.1. What you should know now}
|
||||
\input{VL2_reflection1.tex}
|
||||
\input{./content/VL2_reflection1.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{7.2. Questions for you}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{7.2. Questions for you}
|
||||
\input{VL2_reflection2.tex}
|
||||
\input{./content/VL2_reflection2.tex}
|
||||
\end{frame}
|
||||
|
||||
\section{8. References}
|
||||
@ -294,14 +294,14 @@
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{8.1. Further reading and useful links}
|
||||
\input{VL_links.tex}
|
||||
\input{../common/content/VL_links.tex}
|
||||
\end{frame}
|
||||
|
||||
\subsection{8.2. Sources}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{8.2. Sources}
|
||||
\input{VL_sources.tex}
|
||||
\input{../common/content/VL_sources.tex}
|
||||
\end{frame}
|
||||
|
||||
\end{document}
|
@ -50,98 +50,98 @@
|
||||
|
||||
\section{Reiteration}
|
||||
|
||||
\input{VL2_reiteration.tex}
|
||||
\input{./content/VL2_reiteration.tex}
|
||||
|
||||
|
||||
\section{Polymorphism}
|
||||
|
||||
\input{VL2_polymorphism1.tex}
|
||||
\input{VL2_polymorphism2.tex}
|
||||
\input{VL2_polymorphism3.tex}
|
||||
\input{./content/VL2_polymorphism1.tex}
|
||||
\input{./content/VL2_polymorphism2.tex}
|
||||
\input{./content/VL2_polymorphism3.tex}
|
||||
|
||||
|
||||
\section{More ways to define functions}
|
||||
|
||||
\input{VL2_define_functions1.tex}
|
||||
\input{./content/VL2_define_functions1.tex}
|
||||
|
||||
\subsection{Where}
|
||||
\input{VL2_define_functions2.tex}
|
||||
\input{./content/VL2_define_functions2.tex}
|
||||
|
||||
\subsection{Let}
|
||||
\input{VL2_define_functions3.tex}
|
||||
\input{./content/VL2_define_functions3.tex}
|
||||
|
||||
\subsection{Let vs Where}
|
||||
\input{VL2_define_functions4.tex}
|
||||
\input{./content/VL2_define_functions4.tex}
|
||||
|
||||
\subsection{Anonymous functions}
|
||||
\input{VL2_define_functions5.tex}
|
||||
\input{./content/VL2_define_functions5.tex}
|
||||
|
||||
|
||||
\section{Currying}
|
||||
|
||||
\input{VL2_currying1.tex}
|
||||
\input{./content/VL2_currying1.tex}
|
||||
\\\\
|
||||
\input{VL2_currying2.tex}
|
||||
\input{./content/VL2_currying2.tex}
|
||||
\\\\
|
||||
\input{VL2_currying3.tex}
|
||||
\input{./content/VL2_currying3.tex}
|
||||
\\\\
|
||||
\input{VL2_currying4.tex}
|
||||
\input{./content/VL2_currying4.tex}
|
||||
\\\\
|
||||
\input{VL2_currying5.tex}
|
||||
\input{./content/VL2_currying5.tex}
|
||||
\\\\
|
||||
\input{VL2_currying6.tex}
|
||||
\input{VL2_currying7.tex}
|
||||
\input{VL2_currying8.tex}
|
||||
\input{./content/VL2_currying6.tex}
|
||||
\input{./content/VL2_currying7.tex}
|
||||
\input{./content/VL2_currying8.tex}
|
||||
|
||||
\section{Function composition}
|
||||
|
||||
\input{VL2_composition1.tex}
|
||||
\input{VL2_composition2.tex}
|
||||
\input{VL2_composition3.tex}
|
||||
\input{./content/VL2_composition1.tex}
|
||||
\input{./content/VL2_composition2.tex}
|
||||
\input{./content/VL2_composition3.tex}
|
||||
|
||||
|
||||
\section{Recursion patterns}
|
||||
|
||||
\input{VL2_rec_patterns1.tex}
|
||||
\input{./content/VL2_rec_patterns1.tex}
|
||||
|
||||
\subsection{Map}
|
||||
\input{VL2_rec_patterns2.tex}
|
||||
\input{VL2_rec_patterns3.tex}
|
||||
\input{./content/VL2_rec_patterns2.tex}
|
||||
\input{./content/VL2_rec_patterns3.tex}
|
||||
\\\\
|
||||
\input{VL2_rec_patterns4.tex}
|
||||
\input{./content/VL2_rec_patterns4.tex}
|
||||
\\\\
|
||||
\input{VL2_rec_patterns5.tex}
|
||||
\input{./content/VL2_rec_patterns5.tex}
|
||||
|
||||
\subsection{Filter}
|
||||
\input{VL2_rec_patterns6.tex}
|
||||
\input{./content/VL2_rec_patterns6.tex}
|
||||
\\\\
|
||||
\input{VL2_rec_patterns7.tex}
|
||||
\input{./content/VL2_rec_patterns7.tex}
|
||||
|
||||
\subsection{Fold}
|
||||
\input{VL2_rec_patterns8.tex}
|
||||
\input{VL2_rec_patterns9.tex}
|
||||
\input{./content/VL2_rec_patterns8.tex}
|
||||
\input{./content/VL2_rec_patterns9.tex}
|
||||
\\\\
|
||||
\input{VL2_rec_patterns10.tex}
|
||||
\input{VL2_rec_patterns11.tex}
|
||||
\input{./content/VL2_rec_patterns10.tex}
|
||||
\input{./content/VL2_rec_patterns11.tex}
|
||||
|
||||
\subsection{Summary}
|
||||
\input{VL2_rec_patterns12.tex}
|
||||
\input{./content/VL2_rec_patterns12.tex}
|
||||
|
||||
|
||||
\section{Reflection}
|
||||
|
||||
\subsection{What you should know}
|
||||
\input{VL2_reflection1.tex}
|
||||
\input{./content/VL2_reflection1.tex}
|
||||
|
||||
\subsection{Questions for you}
|
||||
\input{VL2_reflection2.tex}
|
||||
\input{./content/VL2_reflection2.tex}
|
||||
|
||||
\section{References}
|
||||
|
||||
\subsection{Links}
|
||||
\input{VL_links.tex}
|
||||
\input{../common/content/VL_links.tex}
|
||||
|
||||
\subsection{Sources}
|
||||
\input{VL_sources.tex}
|
||||
\input{../common/content/VL_sources.tex}
|
||||
|
||||
\end{document}
|
@ -2,6 +2,6 @@ You can also imagine this geometrically:\\
|
||||
$z = f(x, y)$ is 3-dimensional. If you fix the variable $x$ you'll make things 2-dimensional (the intersecting plane). If you then fix $y$ you'll get an actual point $z$.
|
||||
\vspace{\baselineskip}
|
||||
\\
|
||||
\includegraphics*[scale=0.4]{Grafico_3d_x2+xy+y2.png}
|
||||
\includegraphics*[scale=0.4]{./images/Grafico_3d_x2+xy+y2.png}
|
||||
\\
|
||||
For every of these steps we can define a real new function. This scales up to any number of dimensions/arguments.
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
Loading…
Reference in New Issue
Block a user