On Sun, Dec 23, 2007 at 07:35:20AM -0500, Isaac Dupree wrote:
> GHC optimizes less effectively when parts of a program are in different 
> modules, or are exported from a module.  Therefore, merging all the code 
> into one "module Main (main)" would help.  Unfortunately, Haskell source 
> syntax is ill-suited to this; for example:
...
> So it's more complicated than it seems on the surface, but it could be 
> done; I only wonder how effective it would be on various programs.  I 
> assume GHC doesn't currently implement any optimizations that can _only_ be 
> whole-program, so it would still not be quite like Jhc, though this basic 
> support might allow some such optimizations to be implemented.

It's been done.  http://www.cs.utah.edu/~hal/HAllInOne/index.html

Stefan

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to