64 lines
1.1 KiB
TeX
Executable File
64 lines
1.1 KiB
TeX
Executable File
% use [nosolutions] flag to hide solutions.
|
|
% use [solutions] flag to show solutions.
|
|
\documentclass[
|
|
solutions,
|
|
singlenumbering
|
|
]{../../resources/ormc_handout}
|
|
|
|
\usepackage{mathtools} % for \coloneqq
|
|
\usepackage{hyperref}
|
|
|
|
% An invisible marker, used to
|
|
% draw arrows in equations.
|
|
\newcommand{\tzmr}[1]{
|
|
\tikz[
|
|
overlay,
|
|
remember picture,
|
|
right = 0.25ex
|
|
] \node (#1) {};
|
|
}
|
|
\newcommand{\tzm}[1]{
|
|
\tikz[
|
|
overlay,
|
|
remember picture
|
|
] \node (#1) {};
|
|
}
|
|
|
|
\newcommand{\lm}{\lambda}
|
|
|
|
|
|
|
|
% TODO:
|
|
% Lazy evaluation (alternate Y)
|
|
% Add a few theorems
|
|
% Better ending -> applications?
|
|
% - nix, comparison to imperitive
|
|
|
|
|
|
\uptitlel{Advanced 2}
|
|
\uptitler{Fall 2023}
|
|
\title{Lambda Calculus}
|
|
\subtitle{Prepared by Mark on \today{}}
|
|
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
|
|
\begin{minipage}{8cm}
|
|
Beware of the Turing tar pit, in which everything is possible but nothing of interest is easy.
|
|
|
|
\vspace{2ex}
|
|
|
|
Alan Perlis, \textit{Epigrams of Programming}, \#54
|
|
\end{minipage}
|
|
\hfill
|
|
|
|
|
|
\input{parts/00 intro}
|
|
\input{parts/01 combinators}
|
|
\input{parts/02 boolean}
|
|
\input{parts/03 numbers}
|
|
\input{parts/04 recursion}
|
|
\input{parts/05 challenges}
|
|
|
|
\end{document} |