Haskell XMLRPC Server Performing Dynamically Generated Functions

I have a Haskell RPCXML server process (HaXR) working with GHC that should execute any function it passes. These functions will be determined at run time, so the compiled server will not know about them.

Is there a way to load a function definition at runtime? The preferred method is to avoid disk I / O.

Thanks.

+4
source share
1 answer

hint seems to be popular today.

Although I think you will have to either put it in a module or recount it every time you use it to load a function definition.

+2
source

Source: https://habr.com/ru/post/1300022/


All Articles