2022-11-13 13:02:25 -08:00
|
|
|
% use [nosolutions] flag to hide solutions.
|
|
|
|
% use [solutions] flag to show solutions.
|
|
|
|
\documentclass[
|
2023-02-05 21:02:05 -08:00
|
|
|
nosolutions,
|
2022-11-13 13:02:25 -08:00
|
|
|
singlenumbering
|
2023-01-12 10:30:53 -08:00
|
|
|
]{../../resources/ormc_handout}
|
2022-11-13 13:02:25 -08:00
|
|
|
|
|
|
|
\usepackage{url}
|
|
|
|
\usepackage{mathtools} % for \coloneqq
|
|
|
|
|
|
|
|
% 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}
|
|
|
|
|
|
|
|
% Notice that I a b = 1 a b!
|
|
|
|
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
\maketitle
|
|
|
|
<Advanced 2>
|
|
|
|
<Fall 2022>
|
|
|
|
{Lambda Calculus}
|
|
|
|
{
|
|
|
|
Prepared by Mark on \today
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
\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
|
|
|
|
|
|
|
|
|
2023-02-05 21:02:05 -08:00
|
|
|
\input{parts/00 intro}
|
|
|
|
\input{parts/01 combinators}
|
|
|
|
\input{parts/02 boolean}
|
|
|
|
\input{parts/03 numbers}
|
|
|
|
\input{parts/04 recursion}
|
|
|
|
\input{parts/05 challenges}
|
2022-11-13 13:02:25 -08:00
|
|
|
|
|
|
|
\end{document}
|