
17 Sep
2006
17 Sep
'06
12:31 p.m.
Hi, I was wondering whether Yhc was able to provide dynamic loading of modules. Let's say I'd wanted to do something like : myFiboFunction <- loadModule "myPlugin.hbc" "myFiboFunction" putStrlLn $ myFiboFunction 10 Is it possible to achieve this in the current state of Yhc ? I know there's an API out there to load bytecodes at runtime but I'm not sure it's meant to do that... I'm aware of the hs-plugins library for GHC that allows this kind of hot plugging. Since Yhc is built around the idea of bytecode I figured it should come with built-in dynamic loading facilities. Regards, Cedric