@@ -254,34 +254,30 @@ wiredInPackages = case mparsed of
254
254
Nothing -> impureThrow WiredInPackagesNotParsedBug
255
255
where
256
256
mparsed = mapM parsePackageName
257
- [ " ghc-prim"
257
+ [ " rts"
258
+ -- Said to be not a \'real\' package
259
+ , " ghc-prim"
260
+ -- A magic package
261
+ , " ghc-bignum"
258
262
-- A magic package
259
263
, " integer-gmp"
260
- -- No longer magic > 1.0.3.0. With GHC 9.6.4 at least, there seems to be
261
- -- no problem in using it.
264
+ -- No longer magic > 1.0.3.0 (GHC >= 9.0) and deprecated in favour of
265
+ -- ghc-bignum. With GHC 9.6.4 at least, there seems to be no problem in
266
+ -- using it.
262
267
, " integer-simple"
263
268
-- A magic package
264
269
, " base"
265
270
-- A magic package
266
- , " rts"
267
- -- Said to be not a \'real\' package
268
271
, " template-haskell"
269
272
-- A magic package
270
- , " dph-seq"
271
- -- Deprecated in favour of dph-prim-seq, which does not appear to be
272
- -- magic. With GHC 9.6.4 at least, there seems to be no problem in using
273
- -- it.
274
- , " dph-par"
275
- -- Deprecated in favour of dph-prim-par, which does not appear to be
276
- -- magic. With GHC 9.6.4 at least, there seems to be no problem in using
277
- -- it.
278
273
, " ghc"
279
274
-- A magic package
280
275
, " interactive"
281
- -- Could not identify information about this package name. With GHC 9.6.4
282
- -- at least, there seems to be no problem in using it.
283
- , " ghc-bignum"
284
- -- A magic package
276
+ -- Type and class declarations at the GHCi command prompt are treated as
277
+ -- if they were defined in modules all sharing a common package
278
+ -- interactive. See 'Note [The interactive package]' at
279
+ -- https://gitlab.haskell.org/ghc/ghc/-/blob/master/compiler/GHC/Runtime/Context.hs
280
+ -- With GHC 9.6.4 at least, there seems to be no problem in using it.
285
281
]
286
282
287
283
-- | Just to avoid repetition and magic strings.
0 commit comments