In a heat proof mixing bowl or double broiler add flour, sugar and salt to melted butter. Mix well. Add beaten egg yolks and milk to mixture and stir. Place mixing bowl over a pot of simmering water. Stir pudding constantly until thick, about 15 minutes. Remove from heat and add vanilla. Chill.