3 Nov
2018
3 Nov
'18
6:18 a.m.
Csaba Hruska <csaba.hruska@gmail.com> writes:
Hello,
I added an STG exporter to my modified GHC to do experiments with the STG representation of the program. I noticed that there are multiple top-level binders for *Main.main* function. Is this a convention or a bug?
What GHC command line did you use to produce this output? Is it possible that you passed -dsuppress-uniques? If so the multiple `main`s probably differ in unique. Cheers, - Ben