You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example in templating engines, people will frequently print the value at the index n of an array. Right now keeping track of the indices of a Listable being visited is not triviall and as in the template engine case, we don't even want to visit all of them, just one.
Something like Listable::visit_slice(range: Range<usize>, &mut dyn Visit) to allow for more flexibility would be great to have. A .get(usize) would be nice too if possible
The text was updated successfully, but these errors were encountered:
For example in templating engines, people will frequently print the value at the index
n
of an array. Right now keeping track of the indices of aListable
being visited is not triviall and as in the template engine case, we don't even want to visit all of them, just one.Something like
Listable::visit_slice(range: Range<usize>, &mut dyn Visit)
to allow for more flexibility would be great to have. A.get(usize)
would be nice too if possibleThe text was updated successfully, but these errors were encountered: