--- Tediously, we add defs for ByteArray# etc. because these are
--- declared as ByteArr# (etc.) in primops.txt, and GHC has
--- ByteArray# etc. wired-in.
--- At least this is better than when all primops were wired-in here.
-primEnv = Envs {tcenv_=efromlist $ map (\ (t,k) -> (t,Kind k)) $
- [(snd tcByteArrayzh,ktByteArrayzh),
- (snd tcMutableArrayzh, ktMutableArrayzh),
- (snd tcMutableByteArrayzh, ktMutableByteArrayzh)] ++