Make compileToCore return the module name and type environment along with bindings
authorTim Chevalier <chevalier@alum.wellesley.edu>
Sat, 27 Oct 2007 10:05:30 +0000 (10:05 +0000)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Sat, 27 Oct 2007 10:05:30 +0000 (10:05 +0000)
  compileToCore returned just a list of CoreBind, which isn't enough,
since to do anything with the resulting Core code, you probably also
want the type declarations. I left compileToCore as it is, but added a
function compileToCoreModule that returns a complete Core module (with
module name, type environment, and bindings). I'm not sure that
returning the type environment is the best way to represent the type
declarations for the given module, but I don't want to reinvent the
External Core wheel for this.


No differences found