Allow negative range step.

This commit is contained in:
Stephen Chung
2021-02-27 15:27:40 +08:00
parent 082111074e
commit 66b557692b
2 changed files with 38 additions and 5 deletions

View File

@@ -9,6 +9,16 @@ Bug fixes
* Errors in native Rust functions now contain the correct function call positions.
Breaking changes
----------------
* Zero step in the `range` function now raises an error instead of creating an infinite stream.
Enhancements
------------
* `range` function now supports negative step and decreasing streams (i.e. to < from).
Version 0.19.13
===============