typing: split typing rules

This commit is contained in:
regnat 2017-04-07 11:12:51 +02:00
parent 2c2e885ad0
commit 50400c43e4
3 changed files with 12 additions and 6 deletions

View File

@ -18,6 +18,8 @@
escapeinside={(*}{*)}
}
\usepackage{hyperref}
\usepackage{todo}
\date{}

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "0.0";
buildInputs = [
(texlive.combine {
inherit (texlive) scheme-medium syntax;
inherit (texlive) scheme-medium syntax todo;
})
biber fontconfig pdfpc rubber
];

View File

@ -22,6 +22,7 @@
\end{grammar}
\section{Typing rules}
\subsection{$\lambda\&$-calculus}
\begin{mathpar}
\inferrule{ }{\Gamma; x:\tau \vdash x:\tau}(Var)
@ -71,12 +72,15 @@
\Gamma \vdash \text{let } x_1 = e_1; \ldots{}; x_n = e_n \text{ in } e_0 : \sigma_0
}
(Let)
\and
\end{mathpar}
\subsection{Records}
\begin{mathpar}
\input{recordTypingRules}
\and
-- Operators --
\end{mathpar}
\subsection{Other builtin operators}
\todo{add rules for operators}
\todos
\end{document}