mirror of
https://github.com/thufschmitt/tix-papers.git
synced 2024-09-11 13:00:34 +03:00
typing: split typing rules
This commit is contained in:
parent
2c2e885ad0
commit
50400c43e4
@ -18,6 +18,8 @@
|
||||
escapeinside={(*}{*)}
|
||||
}
|
||||
|
||||
\usepackage{hyperref}
|
||||
\usepackage{todo}
|
||||
|
||||
\date{}
|
||||
|
||||
|
@ -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
|
||||
];
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user