This simplifies the definition of SIRange, allowing it to wrap all Range types as first class values. This improves inference on the range functions, for example:
This removes the definition of SIRange1 as it is no longer needed. As it was neither tested or exported, I have not done anything to deprecate it. I have kept the abstract SIRanges, even though it is no longer necessary or exported, to keep the interface stable.
This simplifies the definition of SIRange, allowing it to wrap all Range types as first class values. This improves inference on the range functions, for example:
Before
After
This removes the definition of
SIRange1
as it is no longer needed. As it was neither tested or exported, I have not done anything to deprecate it. I have kept the abstractSIRanges
, even though it is no longer necessary or exported, to keep the interface stable.