[Haskell-cafe] Monolithic module tool

2007-02-08 Thread Chad Scherrer
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

Re: [Haskell-cafe] Monolithic module tool

2007-02-08 Thread Neil Mitchell
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