On Mon, Aug 31, 2015 at 10:46 AM, Jay McCarthy <[email protected]> wrote: > On Mon, Aug 31, 2015 at 10:43 AM, Jon Zeppieri <[email protected]> wrote: >> To clarify: no interfaces were removed. Interfaces were added. > > I was referring to these comments: > > "So, for example, `+years` is no longer part of the `date-provider` > interface; it's now part of `date-arithmetic-provider`, and values > that satisfy `date-period?` also satisfy `date-arithmetic-provider?`." > > "And `duration-between` was removed in favor of > date-period-between, time-period-between, and > period-between." > > The first sounds like a function isn't in a module anymore and the > second sounds like a function is just gone. But I didn't look at the > code or docs.
Ah, in the second case, you're correct. `duration-between` is simply gone. That is a plain old breaking change. In the first case, however, the function is still part of the same module. The change is that it's part of a new generic interface. However, both interfaces are exported by the `gregor` module. (And all existing structs that implement the old interface also implement the new one, which is why this change is unlikely to break anything.) -Jon -- You received this message because you are subscribed to the Google Groups "Racket Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/CAKfDxxxxiRM8CwXmGgOnp85dJtn06LGqsOMiw8CNOUwCrjLDZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
