Did Julia community do something to improve its correctness?

If you look at the example in the issue, the mutable functor in question is user-defined:

And passed into Iterators.filter and Iterators.reverse.

As I’ve mentioned above statements like “seems like a totally unholdable claim” don’t help this conversation… we do actually want to know in what language you can both

  1. do that easily
    and
  2. it correctly handles the distinction between a pure function and an impure function

Then we have a clear comparison to make, and maybe something to learn from