Melt the butter in a thick-based saucepan, whisk in the flour and cook, stirring continuously, for about 1 minute. Whisk in the milk and boil for 3 minutes, whisking all the time to prevent any lumps from forming.
Beat in the yolks and remove from the heat; season with salt and pepper. Cover with a pie