You might have misunderstood me.
When using hint, one wants the script to be interpreted.
It is interpreted when called " loadModules ["Script"] ", but if we call later " interpret something (as :: Something) ", the something can be any Haskell code, not just a function name, which means hint has also to interpret the something.
So, IMO, a double interpretation is done when a function such as "getSymbol functionName (as :: FuncType)", which would simply get the function, would be sufficient.
I don't know if hint/GHC API allows to do such a thing...
On May 7, 2010, at 19:51 , Limestraël wrote:then interpret "script" (as :: ScriptFun)
There is just the line I put in bold that bothers me. Can't we get the action "script" more easily than by re-interpreting some code?Make up your mind: you don't want to have to compile the script, but you don't want to have to interpret the script. What exactly is supposed to be left?--brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.comsystem administrator [openafs,heimdal,too many hats] allbery@ece.cmu.eduelectrical and computer engineering, carnegie mellon university KF8NH