2 \newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
3 \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
6 \newcommand{\secref}[1]{\S\ref{#1}}
7 \newcommand{\chref}[1]{chapter~\ref{#1}}
8 \newcommand{\figref}[1]{figure~\ref{#1}}
11 \newcommand{\indexml}[1]{\index{\emph{#1}|bold}}
12 \newcommand{\indexmlexception}[1]{\index{\emph{#1} (exception)|bold}}
13 \newcommand{\indexmltype}[1]{\index{\emph{#1} (type)|bold}}
14 \newcommand{\indexmlstructure}[1]{\index{\emph{#1} (structure)|bold}}
15 \newcommand{\indexmlfunctor}[1]{\index{\emph{#1} (functor)|bold}}
18 \newcommand{\text}[1]{\mbox{#1}}
19 \newcommand{\isasymvartheta}{\isamath{\theta}}
20 \newcommand{\isactrlvec}[1]{\emph{$\vec{#1}$}}
21 \newcommand{\isactrlBG}{\isacharbackquoteopen}
22 \newcommand{\isactrlEN}{\isacharbackquoteclose}
24 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
31 \renewcommand{\isadigit}[1]{\isamath{#1}}
33 \newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup}
37 \renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small}
38 \renewcommand{\endisatagmlref}{\endgroup}
40 \newcommand{\minorcmd}[1]{{\sf #1}}
41 \newcommand{\isasymtype}{\minorcmd{type}}
42 \newcommand{\isasymval}{\minorcmd{val}}
44 \newcommand{\isasymFIX}{\isakeyword{fix}}
45 \newcommand{\isasymASSUME}{\isakeyword{assume}}
46 \newcommand{\isasymDEFINE}{\isakeyword{define}}
47 \newcommand{\isasymNOTE}{\isakeyword{note}}
48 \newcommand{\isasymGUESS}{\isakeyword{guess}}
49 \newcommand{\isasymOBTAIN}{\isakeyword{obtain}}
50 \newcommand{\isasymTHEORY}{\isakeyword{theory}}
51 \newcommand{\isasymUSES}{\isakeyword{uses}}
52 \newcommand{\isasymEND}{\isakeyword{end}}
53 \newcommand{\isasymCONSTS}{\isakeyword{consts}}
54 \newcommand{\isasymDEFS}{\isakeyword{defs}}
55 \newcommand{\isasymTHEOREM}{\isakeyword{theorem}}
56 \newcommand{\isasymDEFINITION}{\isakeyword{definition}}
63 %%% TeX-master: "implementation"