Skip to content

Missing Convert module from ghc API

Summary

I'm testing ghc-8.10.1-alpha1 in centos 7. The Convert module is missing in the ghc API.

Steps to reproduce

Convert appears listed as exposed in

git show ghc-8.10.1-alpha1:compiler/ghc.cabal.in

however it is not listed by

ghc-pkg describe ghc

and trying to import it in ghc/ghci fails with

Prelude> import Convert

<no location info>: error:
    Could not find module ‘Convert’
    It is not a module in the current program, or in any known package.

Expected behavior

Convert should be possible to import in programs.

Environment

  • GHC version used: ghc-8.10.1-alpha1

Optional:

  • Operating System: centos 7
  • System Architecture: x86_64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information