Orphan Instances

Christian Maeder Christian.Maeder at dfki.de
Fri Aug 15 05:04:21 EDT 2008


Isaac Dupree wrote:
> Perhaps Prelude.hi could, instead of storing a *list* of orphan modules, 
> store all the orphan instances themselves? Obviously that would waste a 
> bit more space (less now that instances don't contain big function 
> bodies in the HEAD; more because RULES can be orphan too, and 
> numerous).  Would it be any faster loading or is it just a bad idea? :-)

I don't see a performance issue, and if there is one a ticket should be 
created for it (since there a sometimes good reasons for orphaned 
modules -- and good reasons to avoid them, too!)

Cheers Christian


More information about the Libraries mailing list