mcjohnalds45
mcjohnalds45

Reputation: 707

Force ghc to import a hidden module

I needed some functions out of a hidden module. If I import Graphics.UI.Gtk.Types I recieve:

Could not find module `Graphics.UI.Gtk.Types'
it is a hidden module in the package `gtk-0.12.4'

How can I import this hidden module without editing and recompiling gtk?

Upvotes: 6

Views: 2888

Answers (1)

Thomas M. DuBuisson
Thomas M. DuBuisson

Reputation: 64740

No you can not expose modules that are not exported by a package. If you need something from that module to use the package then the functionality should be available via another (exposed) module.

Upvotes: 5

Related Questions