
8 Feb
2007
8 Feb
'07
8:43 p.m.
Maybe a year or so ago, I came across a tool for Haskell that takes a collection of modules, does some name-mangling, and gives a single module that only needs to export main. There were wonderful reductions in the size of the resulting executable, and potentially more optimizations available to GHC. Anyway, I can't find the link now, and I'm wondering if anyone knows of it. Thanks! Chad

8 Feb
8 Feb
10:31 p.m.
Hi Chad I think what you are after is Haskell All-In-One: http://www.cs.utah.edu/~hal/HAllInOne/index.html As it happens, since that date Yhc has moved on to the point where:
yhc Main.hs -linkcore loadCore "Main.yca" >>= writeFile "Main.hs" . coreHaskell
Will get you a similar result - but with desugaring applied as well. Thanks Neil
6725
Age (days ago)
6725
Last active (days ago)
1 comments
2 participants
participants (2)
-
Chad Scherrer
-
Neil Mitchell