haskell-lectures/VL1/VL1_handout.tex
2015-04-20 00:51:14 +02:00

171 lines
3.4 KiB
TeX

\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: introduction}
\maketitle
\tableofcontents
\section{Why haskell?}
\input{./content/VL1_why_haskell1.tex}
\input{./content/VL1_why_haskell2.tex}
\input{./content/VL1_why_haskell3.tex}
\\\\
\input{./content/VL1_why_haskell4.tex}
\input{./content/VL1_why_haskell5.tex}
\section{What is haskell?}
\input{./content/VL1_what_is_haskell1.tex}
\subsection{What does functional mean?}
\input{./content/VL1_what_is_haskell2.tex}
\\\\
\input{./content/VL1_what_is_haskell3.tex}
\subsection{What does pure mean?}
\input{./content/VL1_what_is_haskell4.tex}
\subsection{What does lazy mean?}
\input{./content/VL1_what_is_haskell5.tex}
\subsection{What does statically typed mean?}
\input{./content/VL1_what_is_haskell6.tex}
\subsection{Summary}
\input{./content/VL1_what_is_haskell7.tex}
\section{How to think haskell?}
\input{./content/VL1_think_haskell.tex}
\section{How to write haskell?}
\subsection{Declarations}
\input{./content/VL1_write_haskell1.tex}
\subsection{Arithmetic and co.}
\input{./content/VL1_write_haskell2.tex}
\subsection{Functions and control structures}
\input{./content/VL1_write_haskell3.tex}
\input{./content/VL1_write_haskell4.tex}
\input{./content/VL1_write_haskell5.tex}
\subsection{Lists}
\input{./content/VL1_write_haskell6.tex}
\input{./content/VL1_write_haskell7.tex}
\input{./content/VL1_write_haskell8.tex}
\\\\
\input{./content/VL1_write_haskell9.tex}
\subsection{Pairs}
\input{./content/VL1_write_haskell10.tex}
\subsection{Algebraic Data Types}
\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{./content/VL1_write_haskell15.tex}
\\\\
\input{./content/VL1_write_haskell16.tex}
\\\\
\input{./content/VL1_write_haskell17.tex}
\section{Résumé}
\subsection{Questions so far?}
\input{./content/VL1_resume1.tex}
\subsection{Common misconceptions}
\input{./content/VL1_resume2.tex}
\subsection{Difficulties}
\input{./content/VL1_resume3.tex}
\section{Toolchain}
\input{./content/VL1_toolchain.tex}
\section{Reflection}
\subsection{What you should know}
\input{./content/VL1_reflection1.tex}
\subsection{Questions for you}
\input{./content/VL1_reflection2.tex}
\section{References}
\subsection{Links}
\input{../common/content/VL_links.tex}
\subsection{Sources}
\input{../common/content/VL_sources.tex}
\end{document}