Dynamically choosing the main function
harendra.kumar at gmail.com
Sun Nov 12 16:18:02 UTC 2017
GHC allows choosing a main function at link time using the "-main-is"
option. I was wondering if there is a possibility to choose the main
function at runtime. Or even better, if something equivalent to "ghc -e"
is somehow possible in a linked binary executable. If not, are there any
plans to achieve something like that in future? Are there any theoretical,
practical obstacles to that?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs