% makes adjustments to standard SIGPLAN class to support 
% author-date citations using natbib and the plainnat
% bibliography style

% Norman Ramsey, June 2007
% icfp2007@eecs.harvard.edu


\ProvidesPackage{icfp2007}[2007/06/24]
\DeclareOption{normalbib}{\def\icfp@bibfont{\normalsize}}
\def\icfp@bibfont{\small}
\ProcessOptions

\RequirePackage{natbib}[2007/02/05]
\def\bibfont{\icfp@bibfont}
\setcitestyle{authoryear,round,semicolon,aysep={},yysep={,}}
\let\cite=\citep  % default \cite such as {\LaTeX} authors are used to
\let\icfpBackupThebibliography=\thebibliography
\def\thebibliography{\tolerance=1600 \hbadness=2500 \icfpBackupThebibliography}

