Loading plugin with ghc api

Isaac Dupree ml at isaac.cedarswampstudios.org
Mon Mar 23 10:56:40 EDT 2009


John O'Donnell wrote:
> That example
> does indeed work, but there is no hint as to whether the running program
> can then access anything defined in the module it has just loaded.

I think the running program can only access things *exported* from the module 
(other functions in that module might even have been optimized away!)....
Is it okay to require those plugin-modules to export everything you're going 
to use from them?

-Isaac



More information about the Glasgow-haskell-users mailing list