patch applied (ghc): Add a compileToCore function to the GHC API
Kirsten Chevalier
chevalier at alum.wellesley.edu
Mon Jun 25 18:06:12 EDT 2007
Mon Jun 25 15:06:08 PDT 2007 Tim Chevalier <chevalier at alum.wellesley.edu>
* Add a compileToCore function to the GHC API
Added a compileToCore function to the GHC API that takes a
session, module, and filename, and returns a list of Core
bindings if successful. This is just a first try and could
probably be improved (for example, there's probably a way to
get the filename from the module so that it doesn't have to
be passed in, I just don't see it offhand.)
M ./compiler/main/GHC.hs -2 +33
More information about the Cvs-ghc
mailing list