charTy, stringTy, charTyConName,
- doubleTyCon, doubleDataCon, doubleTy,
+ doubleTyCon, doubleDataCon, doubleTy, doubleTyConName,
- floatTyCon, floatDataCon, floatTy,
+ floatTyCon, floatDataCon, floatTy, floatTyConName,
intTyCon, intDataCon, intTyCon_RDR, intDataCon_RDR, intTyConName,
intTy,
import Kind ( mkArrowKinds, liftedTypeKind, ubxTupleKind )
import Unique ( incrUnique, mkTupleTyConUnique,
mkTupleDataConUnique, mkPArrDataConUnique )
-import PrelNames
import Array
import FastString
import Outputable
(mkArrowKinds (map tyVarKind tyvars) liftedTypeKind)
tyvars
argvrcs
- (DataTyCon (Just []) cons is_enum)
+ [] -- No stupid theta
+ (DataTyCon cons is_enum)
[] -- No record selectors
is_rec
True -- All the wired-in tycons have generics
-- represents the type constructor of parallel arrays
--
--- * this must match the definition in `PrelPArr'
+-- * this must match the definition in `PrelPArr'
--
-- NB: Although the constructor is given here, it will not be accessible in
-- user code as it is not in the environment of any compiled module except
-- fake array constructors
--
--- * these constructors are never really used to represent array values;
+-- * these constructors are never really used to represent array values;
-- however, they are very convenient during desugaring (and, in particular,
-- in the pattern matching compiler) to treat array pattern just like
-- yet another constructor pattern