When I compile a module wiht -package wx, and then run
ghc --show-iface on them to get a list of dependencies,
I get something like this:
module dependencies:
package dependencies: base haskell98 wx
orphans: GHC.Base Foreign.Ptr Control.Exception
Graphics.UI.WX.Variable Graphics.UI.WX.Window Graphics.UI.WX.Frame
Graphics.UI.WX.Media Graphics.UI.WX.Menu Graphics.UI.WX.Controls
Graphics.UI.WX.Dialogs Graphics.UI.WX.Draw
(The only import I have in my module is Graphics.UI.WX)
Why are there Graphics.UI.WX.* orphans? What does it mean? I'm not that
well
acquainted with the ghc package system, but it seems like my module have
extra dependencies on wx modules, besides the wx package.
I have troubles loading modules that dependes on the wx package with
hs-plugins (http://www.cse.unsw.edu.au/~dons/hs-plugins/), maybe this
have something to do with it? Or am I on the wrong track? I see no orphans
when I compile with for instance the 'text' package.
/ Rickard
|