
12 Nov
2017
12 Nov
'17
11:28 a.m.
What would you be able to achieve with this that you couldn't achieve
with branching in a fixed custom main function?
Thanks,
Shea
Harendra Kumar
Hi,
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?
Thanks, Harendra _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs