\documentclass[12pt,a4paper,fleqn,oneside]{article}

% packages
\usepackage{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{listings}
\usepackage{minted}

% for \verb inside \item
\usepackage[T1]{fontenc}
\usepackage[Q=yes]{examplep}

% package configuration
\DeclareGraphicsExtensions{.pdf,.png,.jpg}
\usemintedstyle{friendly}
\newminted{haskell}{frame=single,numbers=left,samepage=true}
\newminted{cpp}{frame=single,numbers=left}
\newminted{c}{frame=single,numbers=left}
\renewcommand{\theFancyVerbLine}{\ttfamily
	\textcolor[rgb]{0.0,0.0,0.0}{\footnotesize
	\oldstylenums{\arabic{FancyVerbLine}}}}

% macros and environments
\newcommand{\code}[1]{\texttt{#1}}
\newcommand{\pause}{}
\newcommand{\slidep}{}
\newenvironment{itemizep}
 {\begin{itemize}}
 {\end{itemize}}

% color definition
\definecolor{solarized}{HTML}{002B36}
\definecolor{mygreen}{rgb}{0,0.6,0}


\begin{document}

% title page information
\author{Julian Ospald}
\title{Haskell: higher order functions}

\maketitle

\tableofcontents

\section{Reiteration}

\input{VL2_reiteration.tex}


\section{Polymorphism}

\input{VL2_polymorphism1.tex}
\input{VL2_polymorphism2.tex}
\input{VL2_polymorphism3.tex}


\section{More ways to define functions}

\input{VL2_define_functions1.tex}

\subsection{Where}
\input{VL2_define_functions2.tex}

\subsection{Let}
\input{VL2_define_functions3.tex}

\subsection{Let vs Where}
\input{VL2_define_functions4.tex}

\subsection{Anonymous functions}
\input{VL2_define_functions5.tex}


\section{Currying}

\input{VL2_currying1.tex}
\\\\
\input{VL2_currying2.tex}
\\\\
\input{VL2_currying3.tex}
\\\\
\input{VL2_currying4.tex}
\\\\
\input{VL2_currying5.tex}
\\\\
\input{VL2_currying6.tex}
\input{VL2_currying7.tex}
\input{VL2_currying8.tex}

\section{Function composition}

\input{VL2_composition1.tex}
\input{VL2_composition2.tex}
\input{VL2_composition3.tex}


\section{Recursion patterns}

\input{VL2_rec_patterns1.tex}

\subsection{Map}
\input{VL2_rec_patterns2.tex}
\input{VL2_rec_patterns3.tex}
\\\\
\input{VL2_rec_patterns4.tex}
\\\\
\input{VL2_rec_patterns5.tex}

\subsection{Filter}
\input{VL2_rec_patterns6.tex}
\\\\
\input{VL2_rec_patterns7.tex}

\subsection{Fold}
\input{VL2_rec_patterns8.tex}
\input{VL2_rec_patterns9.tex}
\\\\
\input{VL2_rec_patterns10.tex}
\input{VL2_rec_patterns11.tex}

\subsection{Summary}
\input{VL2_rec_patterns12.tex}


\section{Reflection}

\subsection{What you should know}
\input{VL2_reflection1.tex}

\subsection{Questions for you}
\input{VL2_reflection2.tex}

\section{References}

\subsection{Links}
\input{VL_links.tex}

\subsection{Sources}
\input{VL_sources.tex}

\end{document}