Correction: foo cannot be pure in this case. But I believe your example is misguiding in this case. The most common use case for this is whenfoo is pure.No, why?
foo cannot be pure because it does io.
Correction: foo cannot be pure in this case. But I believe your example is misguiding in this case. The most common use case for this is whenfoo is pure.No, why?
foo cannot be pure because it does io.