[project @ 2000-10-03 08:43:00 by simonpj]
[ghc-hetmet.git] / ghc / lib / std / PrelBase.lhs
index f1e7c55..4c0bcbe 100644 (file)
@@ -1,5 +1,5 @@
 % -----------------------------------------------------------------------------
-% $Id: PrelBase.lhs,v 1.38 2000/09/26 16:45:34 simonpj Exp $
+% $Id: PrelBase.lhs,v 1.39 2000/10/03 08:43:05 simonpj Exp $
 %
 % (c) The University of Glasgow, 1992-2000
 %
@@ -561,6 +561,19 @@ instance CReturnable () -- Why, exactly?
 
 %*********************************************************
 %*                                                     *
+\subsection{Generics}
+%*                                                     *
+%*********************************************************
+
+\begin{code}
+data Unit = Unit
+data a :+: b = Inl a | Inr b
+data a :*: b = a :*: b
+\end{code}
+
+
+%*********************************************************
+%*                                                     *
 \subsection{Numeric primops}
 %*                                                     *
 %*********************************************************