diff --git a/VL1.tex b/VL1/VL1.tex similarity index 77% rename from VL1.tex rename to VL1/VL1.tex index 393fc48..88f1f36 100644 --- a/VL1.tex +++ b/VL1/VL1.tex @@ -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} \ No newline at end of file diff --git a/VL1_handout.tex b/VL1/VL1_handout.tex similarity index 55% rename from VL1_handout.tex rename to VL1/VL1_handout.tex index d620970..9dfbe62 100644 --- a/VL1_handout.tex +++ b/VL1/VL1_handout.tex @@ -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} diff --git a/VL1_reflection1.tex b/VL1/content/VL1_reflection1.tex similarity index 100% rename from VL1_reflection1.tex rename to VL1/content/VL1_reflection1.tex diff --git a/VL1_reflection2.tex b/VL1/content/VL1_reflection2.tex similarity index 100% rename from VL1_reflection2.tex rename to VL1/content/VL1_reflection2.tex diff --git a/VL1_resume1.tex b/VL1/content/VL1_resume1.tex similarity index 100% rename from VL1_resume1.tex rename to VL1/content/VL1_resume1.tex diff --git a/VL1_resume2.tex b/VL1/content/VL1_resume2.tex similarity index 100% rename from VL1_resume2.tex rename to VL1/content/VL1_resume2.tex diff --git a/VL1_resume3.tex b/VL1/content/VL1_resume3.tex similarity index 100% rename from VL1_resume3.tex rename to VL1/content/VL1_resume3.tex diff --git a/VL1_think_haskell.tex b/VL1/content/VL1_think_haskell.tex similarity index 100% rename from VL1_think_haskell.tex rename to VL1/content/VL1_think_haskell.tex diff --git a/VL1_toolchain.tex b/VL1/content/VL1_toolchain.tex similarity index 100% rename from VL1_toolchain.tex rename to VL1/content/VL1_toolchain.tex diff --git a/VL1_what_is_haskell1.tex b/VL1/content/VL1_what_is_haskell1.tex similarity index 100% rename from VL1_what_is_haskell1.tex rename to VL1/content/VL1_what_is_haskell1.tex diff --git a/VL1_what_is_haskell2.tex b/VL1/content/VL1_what_is_haskell2.tex similarity index 80% rename from VL1_what_is_haskell2.tex rename to VL1/content/VL1_what_is_haskell2.tex index bee4d32..c771020 100644 --- a/VL1_what_is_haskell2.tex +++ b/VL1/content/VL1_what_is_haskell2.tex @@ -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? diff --git a/VL1_what_is_haskell3.tex b/VL1/content/VL1_what_is_haskell3.tex similarity index 100% rename from VL1_what_is_haskell3.tex rename to VL1/content/VL1_what_is_haskell3.tex diff --git a/VL1_what_is_haskell4.tex b/VL1/content/VL1_what_is_haskell4.tex similarity index 100% rename from VL1_what_is_haskell4.tex rename to VL1/content/VL1_what_is_haskell4.tex diff --git a/VL1_what_is_haskell5.tex b/VL1/content/VL1_what_is_haskell5.tex similarity index 100% rename from VL1_what_is_haskell5.tex rename to VL1/content/VL1_what_is_haskell5.tex diff --git a/VL1_what_is_haskell6.tex b/VL1/content/VL1_what_is_haskell6.tex similarity index 100% rename from VL1_what_is_haskell6.tex rename to VL1/content/VL1_what_is_haskell6.tex diff --git a/VL1_what_is_haskell7.tex b/VL1/content/VL1_what_is_haskell7.tex similarity index 100% rename from VL1_what_is_haskell7.tex rename to VL1/content/VL1_what_is_haskell7.tex diff --git a/VL1_why_haskell1.tex b/VL1/content/VL1_why_haskell1.tex similarity index 100% rename from VL1_why_haskell1.tex rename to VL1/content/VL1_why_haskell1.tex diff --git a/VL1_why_haskell2.tex b/VL1/content/VL1_why_haskell2.tex similarity index 100% rename from VL1_why_haskell2.tex rename to VL1/content/VL1_why_haskell2.tex diff --git a/VL1_why_haskell3.tex b/VL1/content/VL1_why_haskell3.tex similarity index 100% rename from VL1_why_haskell3.tex rename to VL1/content/VL1_why_haskell3.tex diff --git a/VL1_why_haskell4.tex b/VL1/content/VL1_why_haskell4.tex similarity index 100% rename from VL1_why_haskell4.tex rename to VL1/content/VL1_why_haskell4.tex diff --git a/VL1_why_haskell5.tex b/VL1/content/VL1_why_haskell5.tex similarity index 100% rename from VL1_why_haskell5.tex rename to VL1/content/VL1_why_haskell5.tex diff --git a/VL1_write_haskell1.tex b/VL1/content/VL1_write_haskell1.tex similarity index 100% rename from VL1_write_haskell1.tex rename to VL1/content/VL1_write_haskell1.tex diff --git a/VL1_write_haskell10.tex b/VL1/content/VL1_write_haskell10.tex similarity index 100% rename from VL1_write_haskell10.tex rename to VL1/content/VL1_write_haskell10.tex diff --git a/VL1_write_haskell11.tex b/VL1/content/VL1_write_haskell11.tex similarity index 100% rename from VL1_write_haskell11.tex rename to VL1/content/VL1_write_haskell11.tex diff --git a/VL1_write_haskell12.tex b/VL1/content/VL1_write_haskell12.tex similarity index 100% rename from VL1_write_haskell12.tex rename to VL1/content/VL1_write_haskell12.tex diff --git a/VL1_write_haskell13.tex b/VL1/content/VL1_write_haskell13.tex similarity index 100% rename from VL1_write_haskell13.tex rename to VL1/content/VL1_write_haskell13.tex diff --git a/VL1_write_haskell14.tex b/VL1/content/VL1_write_haskell14.tex similarity index 100% rename from VL1_write_haskell14.tex rename to VL1/content/VL1_write_haskell14.tex diff --git a/VL1_write_haskell15.tex b/VL1/content/VL1_write_haskell15.tex similarity index 100% rename from VL1_write_haskell15.tex rename to VL1/content/VL1_write_haskell15.tex diff --git a/VL1_write_haskell16.tex b/VL1/content/VL1_write_haskell16.tex similarity index 100% rename from VL1_write_haskell16.tex rename to VL1/content/VL1_write_haskell16.tex diff --git a/VL1_write_haskell17.tex b/VL1/content/VL1_write_haskell17.tex similarity index 100% rename from VL1_write_haskell17.tex rename to VL1/content/VL1_write_haskell17.tex diff --git a/VL1_write_haskell2.tex b/VL1/content/VL1_write_haskell2.tex similarity index 100% rename from VL1_write_haskell2.tex rename to VL1/content/VL1_write_haskell2.tex diff --git a/VL1_write_haskell3.tex b/VL1/content/VL1_write_haskell3.tex similarity index 100% rename from VL1_write_haskell3.tex rename to VL1/content/VL1_write_haskell3.tex diff --git a/VL1_write_haskell4.tex b/VL1/content/VL1_write_haskell4.tex similarity index 100% rename from VL1_write_haskell4.tex rename to VL1/content/VL1_write_haskell4.tex diff --git a/VL1_write_haskell5.tex b/VL1/content/VL1_write_haskell5.tex similarity index 100% rename from VL1_write_haskell5.tex rename to VL1/content/VL1_write_haskell5.tex diff --git a/VL1_write_haskell6.tex b/VL1/content/VL1_write_haskell6.tex similarity index 100% rename from VL1_write_haskell6.tex rename to VL1/content/VL1_write_haskell6.tex diff --git a/VL1_write_haskell7.tex b/VL1/content/VL1_write_haskell7.tex similarity index 100% rename from VL1_write_haskell7.tex rename to VL1/content/VL1_write_haskell7.tex diff --git a/VL1_write_haskell8.tex b/VL1/content/VL1_write_haskell8.tex similarity index 100% rename from VL1_write_haskell8.tex rename to VL1/content/VL1_write_haskell8.tex diff --git a/VL1_write_haskell9.tex b/VL1/content/VL1_write_haskell9.tex similarity index 100% rename from VL1_write_haskell9.tex rename to VL1/content/VL1_write_haskell9.tex diff --git a/function-machine.png b/VL1/images/function-machine.png similarity index 100% rename from function-machine.png rename to VL1/images/function-machine.png diff --git a/VL2.tex b/VL2/VL2.tex similarity index 78% rename from VL2.tex rename to VL2/VL2.tex index 67c3e33..8bb0df8 100644 --- a/VL2.tex +++ b/VL2/VL2.tex @@ -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} \ No newline at end of file diff --git a/VL2_handout.tex b/VL2/VL2_handout.tex similarity index 53% rename from VL2_handout.tex rename to VL2/VL2_handout.tex index f901050..b031e8f 100644 --- a/VL2_handout.tex +++ b/VL2/VL2_handout.tex @@ -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} \ No newline at end of file diff --git a/VL2_composition1.tex b/VL2/content/VL2_composition1.tex similarity index 100% rename from VL2_composition1.tex rename to VL2/content/VL2_composition1.tex diff --git a/VL2_composition2.tex b/VL2/content/VL2_composition2.tex similarity index 100% rename from VL2_composition2.tex rename to VL2/content/VL2_composition2.tex diff --git a/VL2_composition3.tex b/VL2/content/VL2_composition3.tex similarity index 100% rename from VL2_composition3.tex rename to VL2/content/VL2_composition3.tex diff --git a/VL2_currying1.tex b/VL2/content/VL2_currying1.tex similarity index 100% rename from VL2_currying1.tex rename to VL2/content/VL2_currying1.tex diff --git a/VL2_currying2.tex b/VL2/content/VL2_currying2.tex similarity index 100% rename from VL2_currying2.tex rename to VL2/content/VL2_currying2.tex diff --git a/VL2_currying3.tex b/VL2/content/VL2_currying3.tex similarity index 100% rename from VL2_currying3.tex rename to VL2/content/VL2_currying3.tex diff --git a/VL2_currying4.tex b/VL2/content/VL2_currying4.tex similarity index 73% rename from VL2_currying4.tex rename to VL2/content/VL2_currying4.tex index 23dfca5..0b4b4ef 100644 --- a/VL2_currying4.tex +++ b/VL2/content/VL2_currying4.tex @@ -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. \ No newline at end of file diff --git a/VL2_currying5.tex b/VL2/content/VL2_currying5.tex similarity index 100% rename from VL2_currying5.tex rename to VL2/content/VL2_currying5.tex diff --git a/VL2_currying6.tex b/VL2/content/VL2_currying6.tex similarity index 100% rename from VL2_currying6.tex rename to VL2/content/VL2_currying6.tex diff --git a/VL2_currying7.tex b/VL2/content/VL2_currying7.tex similarity index 100% rename from VL2_currying7.tex rename to VL2/content/VL2_currying7.tex diff --git a/VL2_currying8.tex b/VL2/content/VL2_currying8.tex similarity index 100% rename from VL2_currying8.tex rename to VL2/content/VL2_currying8.tex diff --git a/VL2_define_functions1.tex b/VL2/content/VL2_define_functions1.tex similarity index 100% rename from VL2_define_functions1.tex rename to VL2/content/VL2_define_functions1.tex diff --git a/VL2_define_functions2.tex b/VL2/content/VL2_define_functions2.tex similarity index 100% rename from VL2_define_functions2.tex rename to VL2/content/VL2_define_functions2.tex diff --git a/VL2_define_functions3.tex b/VL2/content/VL2_define_functions3.tex similarity index 100% rename from VL2_define_functions3.tex rename to VL2/content/VL2_define_functions3.tex diff --git a/VL2_define_functions4.tex b/VL2/content/VL2_define_functions4.tex similarity index 100% rename from VL2_define_functions4.tex rename to VL2/content/VL2_define_functions4.tex diff --git a/VL2_define_functions5.tex b/VL2/content/VL2_define_functions5.tex similarity index 100% rename from VL2_define_functions5.tex rename to VL2/content/VL2_define_functions5.tex diff --git a/VL2_polymorphism1.tex b/VL2/content/VL2_polymorphism1.tex similarity index 100% rename from VL2_polymorphism1.tex rename to VL2/content/VL2_polymorphism1.tex diff --git a/VL2_polymorphism2.tex b/VL2/content/VL2_polymorphism2.tex similarity index 100% rename from VL2_polymorphism2.tex rename to VL2/content/VL2_polymorphism2.tex diff --git a/VL2_polymorphism3.tex b/VL2/content/VL2_polymorphism3.tex similarity index 100% rename from VL2_polymorphism3.tex rename to VL2/content/VL2_polymorphism3.tex diff --git a/VL2_rec_patterns1.tex b/VL2/content/VL2_rec_patterns1.tex similarity index 100% rename from VL2_rec_patterns1.tex rename to VL2/content/VL2_rec_patterns1.tex diff --git a/VL2_rec_patterns10.tex b/VL2/content/VL2_rec_patterns10.tex similarity index 100% rename from VL2_rec_patterns10.tex rename to VL2/content/VL2_rec_patterns10.tex diff --git a/VL2_rec_patterns11.tex b/VL2/content/VL2_rec_patterns11.tex similarity index 100% rename from VL2_rec_patterns11.tex rename to VL2/content/VL2_rec_patterns11.tex diff --git a/VL2_rec_patterns12.tex b/VL2/content/VL2_rec_patterns12.tex similarity index 100% rename from VL2_rec_patterns12.tex rename to VL2/content/VL2_rec_patterns12.tex diff --git a/VL2_rec_patterns2.tex b/VL2/content/VL2_rec_patterns2.tex similarity index 100% rename from VL2_rec_patterns2.tex rename to VL2/content/VL2_rec_patterns2.tex diff --git a/VL2_rec_patterns3.tex b/VL2/content/VL2_rec_patterns3.tex similarity index 100% rename from VL2_rec_patterns3.tex rename to VL2/content/VL2_rec_patterns3.tex diff --git a/VL2_rec_patterns4.tex b/VL2/content/VL2_rec_patterns4.tex similarity index 100% rename from VL2_rec_patterns4.tex rename to VL2/content/VL2_rec_patterns4.tex diff --git a/VL2_rec_patterns5.tex b/VL2/content/VL2_rec_patterns5.tex similarity index 100% rename from VL2_rec_patterns5.tex rename to VL2/content/VL2_rec_patterns5.tex diff --git a/VL2_rec_patterns6.tex b/VL2/content/VL2_rec_patterns6.tex similarity index 100% rename from VL2_rec_patterns6.tex rename to VL2/content/VL2_rec_patterns6.tex diff --git a/VL2_rec_patterns7.tex b/VL2/content/VL2_rec_patterns7.tex similarity index 100% rename from VL2_rec_patterns7.tex rename to VL2/content/VL2_rec_patterns7.tex diff --git a/VL2_rec_patterns8.tex b/VL2/content/VL2_rec_patterns8.tex similarity index 100% rename from VL2_rec_patterns8.tex rename to VL2/content/VL2_rec_patterns8.tex diff --git a/VL2_rec_patterns9.tex b/VL2/content/VL2_rec_patterns9.tex similarity index 100% rename from VL2_rec_patterns9.tex rename to VL2/content/VL2_rec_patterns9.tex diff --git a/VL2_reflection1.tex b/VL2/content/VL2_reflection1.tex similarity index 100% rename from VL2_reflection1.tex rename to VL2/content/VL2_reflection1.tex diff --git a/VL2_reflection2.tex b/VL2/content/VL2_reflection2.tex similarity index 100% rename from VL2_reflection2.tex rename to VL2/content/VL2_reflection2.tex diff --git a/VL2_reiteration.tex b/VL2/content/VL2_reiteration.tex similarity index 100% rename from VL2_reiteration.tex rename to VL2/content/VL2_reiteration.tex diff --git a/Grafico_3d_x2+xy+y2.png b/VL2/images/Grafico_3d_x2+xy+y2.png similarity index 100% rename from Grafico_3d_x2+xy+y2.png rename to VL2/images/Grafico_3d_x2+xy+y2.png diff --git a/Code.hs b/common/code/Code.hs similarity index 100% rename from Code.hs rename to common/code/Code.hs diff --git a/VL_links.tex b/common/content/VL_links.tex similarity index 100% rename from VL_links.tex rename to common/content/VL_links.tex diff --git a/VL_sources.tex b/common/content/VL_sources.tex similarity index 100% rename from VL_sources.tex rename to common/content/VL_sources.tex