-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Depend on IntervalSets.jl rather than Intervals.jl? #374
Comments
Thanks for this. I’ll have a look. I don’t recall it being a critical dependency, so would expect only the inconvenience of a breaking release would be the cost of changing. |
Thanks! Let me know if you're busy and would like me to work on it for this and the other repo. |
If you wanted to help that would be great. My first thought would be to just keep Although I really wish there was just one choice for interval support... |
I'm a little confused-- In the issues of both |
I'm working on a PR that removes the dependency and implements a simple version of Intervals with the basic interface of |
I put in a PR here #377 to a new branch currently titled |
There are two packages in the ecosystem for representing operations on non-iterable intervals, IntervalsSets.jl and Intervals.jl.
The latter currently depends on TimeZones.jl directly, which is a heavy transitive dependency for pure-math projects which want to use Polynomials. (I've opened an issue to address this). It is not as light-weight and includes functionality for plotting and printing intervals, as well as anchored intervals. Finally, it is not as widely used in the math ecosystem. See below for the list of each package's dependees.
For all these reasons, it would be nice to switch to using IntervalSets. Unfortunately, this will be a breaking change. Polynomials.jl depends on Intervals via the
domain
function.What are the thoughts of the core maintainers on this, and would it be something that you'd consider addressing in a future breaking release?
The text was updated successfully, but these errors were encountered: