On Wed, Sep 03, 2008 at 11:53:58AM +0200, Joachim Breitner wrote: > > So, when ghc --show-iface does not change for an .hi, it is guaranteed > that depending libraries will continue to work? Or are there more > pitfalls?
I think that's right (unless you're doing something like generating part of your library with TH code that uses another library). > Maybe we can use this somehow to avoid recompilation. Something like > Provide: <pkgname>-<md5sum of --show-iface> and then using that in > Depends:. Just a quick idea... You'd need to show all the interfaces in a consistent order and then take the hash of the whole lot. I think it would work; the only down side I can think of is that the names would be a bit unwieldy if a dependency was missing. Thanks Ian _______________________________________________ debian-haskell mailing list [email protected] http://urchin.earth.li/mailman/listinfo/debian-haskell

