Extract arg evaluation out of GhcMod.main