Set and functional prediction: randomness, exchangeability, and conformal