[Haskell-cafe] Interactive Haskell and hs-plugins

2005-11-01 Thread Fraser Wilson
Hi there, I would like to use evaluate arbitrary expressions in the context of a mixed-language (Ada, Haskell and about twelve lines of C glue) applications. Is it possible to use dynload from hs-plugins to load a module that references symbols in the loading program? For example, the

Re: [Haskell-cafe] Interactive Haskell and hs-plugins

2005-11-01 Thread Keean Schupke
The symbols must be exported from the main program... I think you can pass the linker an option to force it to export symbols. Keean. Fraser Wilson wrote: Hi there, I would like to use evaluate arbitrary expressions in the context of a mixed-language (Ada, Haskell and about twelve lines