Skip to content

GHCi can't load Text.Printf

I'm using the binary distribution.

I have no trouble to load e.g. Text.PrettyPrint. However, Text.Printf can't be found. Here's part of a GHCi session:

Prelude> :m Text.PrettyPrint
Prelude Text.PrettyPrint> :m Text.Printf
can't find module `Text.Printf'
Prelude Text.PrettyPrint>             

Running Setup.lhs of Happy also causes this error:

$ ./Setup.lhs
./Setup.lhs:
    Can't find module `Text.Printf'
    (use -v to see a list of the files searched for)
Trac metadata
Trac field Value
Version 6.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
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