Build system idea

Simon Marlow marlowsd at gmail.com
Fri Aug 29 04:37:50 EDT 2008


Brandon S. Allbery KF8NH wrote:
> On 2008 Aug 28, at 22:00, Sterling Clover wrote:
>> We do have, although not with easy access, an additional declarative 
>> layer "built in" 90% of the time as configuration as type signature.
> 
> Sure?  I think it's easier than you think:  someone's already written 
> code to extract the information from .hi files (and indeed ghc will dump 
> it for you:  ghc --dump-iface foo.hi).  In theory there could be a 
> master dictionary of these hosted on hackage, collected from each 
> package's own dictionary, and a given package's dependencies could be 
> computed with high accuracy from it.

It's a good idea, but conditional compilation makes it quite a bit harder.

Cheers,
	Simon





More information about the Glasgow-haskell-users mailing list