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
The issue here is that the mapfoldr implementation does reverse iteration by itr[i - 1], assuming the iterator is indexable and that the indices are consecutive. The right thing is probably to use Iterators.reverse (#24823).
As reported on discourse:
I would consider this a bug, not just a limitation of
foldr
, because it silently works fine for ASCII strings.The text was updated successfully, but these errors were encountered: