Commit 616aab1b authored by simonmar's avatar simonmar
Browse files

[project @ 2002-07-31 12:17:35 by simonmar]

Remove unused primRepTyCon
parent 8e49caf6
......@@ -42,9 +42,7 @@ module TysPrim(
word32PrimTyCon, word32PrimTy,
int64PrimTyCon, int64PrimTy,
word64PrimTyCon, word64PrimTy,
primRepTyCon
word64PrimTyCon, word64PrimTy
) where
#include "HsVersions.h"
......@@ -371,31 +369,3 @@ to the thread id internally.
threadIdPrimTy = mkTyConTy threadIdPrimTyCon
threadIdPrimTyCon = pcPrimTyCon0 threadIdPrimTyConName ThreadIdRep
\end{code}
%************************************************************************
%* *
\subsection[TysPrim-PrimRep]{Making types from PrimReps}
%* *
%************************************************************************
Each of the primitive types from this module is equivalent to a
PrimRep (see PrimRep.lhs). The following function returns the
primitive TyCon for a given PrimRep.
\begin{code}
primRepTyCon CharRep = charPrimTyCon
primRepTyCon Int8Rep = charPrimTyCon
primRepTyCon IntRep = intPrimTyCon
primRepTyCon WordRep = wordPrimTyCon
primRepTyCon Int32Rep = int32PrimTyCon
primRepTyCon Int64Rep = int64PrimTyCon
primRepTyCon Word32Rep = word32PrimTyCon
primRepTyCon Word64Rep = word64PrimTyCon
primRepTyCon AddrRep = addrPrimTyCon
primRepTyCon FloatRep = floatPrimTyCon
primRepTyCon DoubleRep = doublePrimTyCon
primRepTyCon StablePtrRep = stablePtrPrimTyCon
primRepTyCon ForeignObjRep = foreignObjPrimTyCon
primRepTyCon WeakPtrRep = weakPrimTyCon
primRepTyCon other = pprPanic "primRepTyCon" (ppr other)
\end{code}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment