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...


2010/5/8 Brandon S. Allbery KF8NH <allb...@ece.cmu.edu>

> 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] allb...@kf8nh.com
> system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
> electrical and computer engineering, carnegie mellon university    KF8NH
>
>
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to