Omit the generic declarations when processing with Haddock, since the
Haddock parser doesn't understand them (yet).
% -----------------------------------------------------------------------------
-% $Id: Base.lhs,v 1.7 2002/02/27 14:33:09 simonmar Exp $
+% $Id: Base.lhs,v 1.8 2002/04/24 16:10:21 simonmar Exp $
%
% (c) The University of Glasgow, 1992-2002
%
\begin{code}
data Unit = Unit
+#ifndef __HADDOCK__
data (:+:) a b = Inl a | Inr b
data (:*:) a b = a :*: b
+#endif
\end{code}