-
Notifications
You must be signed in to change notification settings - Fork 25
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
Export interval type #163
Comments
That is a good idea, yes. We just have to make sure that there is no problem if you also explicitly import IntervalArithmetic.jl. Originally the idea was for ValidatedNumerics.jl to reexport all of this functionality. I think we should maybe pick up that idea again. |
Making sure there is no problems sounds like a good approach ^_^ Would it then work so that all the packages in this ecosystem import ValidatedNumerics.jl as a dependency, and ValidatetNumerics.jl then exports all the common interface? This question is more for my curiosity than anything else. |
No, ValidatedNumerics just reexports everything from each package. This is already done here but it is hard to keep track of the versions. |
One package to rule them all, One package to find them, As far as I know, at the moment the only issue with importing all packages is that both IntervalRootFinding and IntervalConstraintProgramming export The repo seems a little outdated (no Project.toml, old workflow). I can update the repo later today. The CompatHelper will make keeping track of the versions much easier. |
@KronosTheLate Now by doing There is the small caveat I mentioned above if you want to use the |
When starting up this package, my intuitive approach would be this:
but, as you probably well know, this returns
Would it be a problem for
IntervalRootFinding
to export theInterval
type to make what I concider intuitive work, without having to addusing IntervalArithmetic
?To rephrase the problem:
It feels weird to me that one has to import the interval type from
IntervalArithmetic
when using a package calledIntervalRootFinding
- the latter package obviously works with intervals, and it would therefore be natural for it to export the Interval-type on its own.The text was updated successfully, but these errors were encountered: