Why aren’t start, end, and stride public properties of StrideTo/Through?

I was just trying to write an extension on StrideTo and StrideThrough, where I needed to read the values of start, end, and stride. However, those properties do not exist, as the standard library declares them internal with underscored names.

Should we make public read-only computed properties for them?

Terms of Service

Privacy Policy

Cookie Policy