Creates a Schedule that unfolds values of Output with an initial value, and the next function to compute the next value.