Allow strings to be iterable.

This commit is contained in:
Stephen Chung
2022-04-09 13:37:43 +08:00
parent 6422fddd6d
commit 1777ee7f6f
3 changed files with 12 additions and 2 deletions

View File

@@ -15,6 +15,11 @@ Script-breaking changes
* `split` now splits a string by whitespaces instead of splitting it into individual characters. This is more in line with common practices.
* A new function `to_chars` for strings is added to split the string into individual characters.
Enhancements
------------
* Strings are not directly iterable (via `for .. in`) yielding individual characters.
Version 1.6.0
=============