Skip to content

haskell98-2.0.0.0:Prelude can't be safely imported! The module itself isn't safe.

If base-4.4.1.0:Prelude can be considered trustworthy, so should haskell98-2.0.0.0:Prelude, shouldn't it?

$ ghc-7.2.2 --make Hello.hs -hide-package base -package haskell98 -XSafe

[1 of 1] Compiling Main ( Hello.hs, Hello.o )

Implicit import declaration:

haskell98-2.0.0.0:Prelude can't be safely imported! The module itself isn't safe.

$ cat Hello.hs main = putStrLn "Hello, world!"

Trac metadata
Trac field Value
Version
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/haskell98
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information