more docs

This commit is contained in:
sergeych committed 2025-06-01 00:11:48 +04:00
1 parent 86d59abfbc
commit 698d169612
2 files changed
+44

No files matched your search

+11
View File
@@ -603,6 +603,17 @@ Ranges could be inside other ranges:
assert( (2..3) in (1..10) )
>>> void
There are character ranges too:
'd' in 'a'..'e'
>>> true
and you can use ranges in for-loops:
for( x in 'a' ..< 'c' ) println(x)
>>> a
>>> b
>>> void
See [Ranges](Range.md) for detailed documentation on it.