
2 Nov
2018
2 Nov
'18
10:18 p.m.
Csaba Hruska
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