Skip to content

Support for Slice mutations

Compare
Choose a tag to compare
@EvanKepner EvanKepner released this 17 Feb 21:17
· 226 commits to master since this release
c63098d

Added new slice mutations:

  • Slice_SwapNoneUL and Slice_SwapNoneLU for swapping the upper and lower bound values when only one is specified e.g. x[1:] to x[:1].
  • Slice_UPosToZero and Slice_UNegToZero for moving the upper bound of a slice by 1 unit e.g. x[1:5] becomes x[1:4].