[Gtk2hs-users] ghci-5.04.3 and ghc-6.0
Duncan Coutts
duncan@coutts.uklinux.net
Fri, 20 Jun 2003 18:46:31 +0100
On Fri, 20 Jun 2003 14:39:43 +0100
"Simon Marlow" <simonmar@microsoft.com> wrote:
> > In this case gtk2hs.o was generated by ghc-pkg, but naively,
> > can I ask,
> > is it not possible to detect this claiming of module names at
> > buildtime?
>
> Yes, in theory, but it would mean searching the entire search path to
> find all the .hi files for a module, rather than stopping as soon as
> you've found one.
Would it be possible to use the full hierarchical module name?
There's a much better chance of them being unique.
ie use
__stginit_Control_Arrow
rather than
__stginit_Arrow
I *assume* that information is avaliable at compile/build time.
Duncan