Add a [ModuleName] parameter to toCore.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Thu, 9 Apr 2009 16:15:43 +0000 (18:15 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Thu, 9 Apr 2009 16:15:57 +0000 (18:15 +0200)
commitda1ada4d31ea157f61c1c9e0cd3854387ac32218
tree2c5fc6e322153ebfabf19afbab7cefb5e655100d
parent976831b932eae534e9e3b8cefd9d3ec51df9d314
Add a [ModuleName] parameter to toCore.

This allows callers to put any number of modules into scope before
translating to Core. Previously, functions and values could be
automatically imported by using their qualified name, but now also
instances can be used from modules that would not be imported otherwise.
CoreTools.hs
HsTools.hs