Open Kolaru opened 2 years ago
I think it would be nice to be able to unpack root objects as if they were tuples of (interval, status) e.g. have the following to work
(interval, status)
julia> r = Root((1..2), :unique) Root([1, 2], :unique) julia> x, status = r
One interesting thing is that it would allow to iterate over the vector of Roots return by roots as follow
Root
roots
for (x, status) in roots(f, A) # do stuff end
I think it would be nice to be able to unpack root objects as if they were tuples of
(interval, status)
e.g. have the following to workOne interesting thing is that it would allow to iterate over the vector of
Root
s return byroots
as follow