How RealWorld passes to the main?

big thanks for the answer, will try to read GHC source code in next 4 months, cause I have many unfinished topics