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