Petr Vana
Petr Vana
This is precisely the feature I was looking for. Has anyone found a satisfactory solution over the recent years? Or, do you know about any package that actively uses prepending?...
It seems like solving #11429 as a side-effect, but at the cost of losing in-place property.
Xrefs JuliaLang/julia#42896 #942
Xrefs https://github.com/JuliaLang/julia/issues/42896 https://github.com/JuliaPy/PyCall.jl/pull/942
Related proposal https://github.com/JuliaLang/julia/issues/45475
Thank you so much for the rapid response. It seems possible to handle conditions manually, but it would lead to quite have machinery to handle it automatically, similarly like in...
It seems possible to introduce a macro that transforms the basic example. I drafted some code, but I'm not an expert for macros. ```julia y = @interval x > 1...
I was not aware of existing `@interval`. It is possible to combine, but may be confusing. What about `@intervalif`?
But if some functions do not fully support intervals then it would be impossible to write `@interval mod(a..b, pi) > 0.2 ? sin(a) : sin(b)` because `pi` would be converted...
I just came across `mod` as well and implemented a simplified version `mod(x::Interval, m::Real)`. Would it be possible to merge at least the not extended version? Is there anything I...