\def\kw#1{\texttt{#1}}
\def\id#1{\textit{#1}}
\def\cst#1{\text{\textsf{#1}}}
\def\constr{\cst}
\def\bfcst#1{\textbf{\cst{#1}}}
\def\ind{\bfcst}
\def\module#1{\textsc{\textsf{#1}}}
\def\ax#1{\textsl{\textsf{#1}}}
\def\tac{\kw}

\def\bang{!}

\def\kwabbrev#1{\kw{#1}\xspace}
\def\class{\kwabbrev{class}}
\def\instance{\kwabbrev{instance}}
\def\Class{\kwabbrev{Class}}
\def\Instance{\kwabbrev{Instance}}
\def\record{\kwabbrev{Record}}
\def\where{\kwabbrev{where}}

%\def\indent{\coqdocindent}
\def\eol{\coqdoceol}

\def\classid#1{\ind{#1}}

\newenvironment{code}{%
\medskip}{\medskip}

\def\app{\mathbin{+\!\!\!+}}
\def\cons{\mathbin{::}}
\def\nil{[~\!]}
