diff options
Diffstat (limited to 'man/man3/tomo-Int.onward.3')
| -rw-r--r-- | man/man3/tomo-Int.onward.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/tomo-Int.onward.3 b/man/man3/tomo-Int.onward.3 index 596cf842..6cf9ffc8 100644 --- a/man/man3/tomo-Int.onward.3 +++ b/man/man3/tomo-Int.onward.3 @@ -1,8 +1,8 @@ '\" t -.\" Copyright (c) 2025 Bruce Hill +.\" Copyright (c) 2026 Bruce Hill .\" All rights reserved. .\" -.TH Int.onward 3 2025-11-29 "Tomo man-pages" +.TH Int.onward 3 2026-01-19 "Tomo man-pages" .SH NAME Int.onward \- iterate from a number onward .SH LIBRARY @@ -31,7 +31,7 @@ An iterator function that counts onward from the starting integer. .SH EXAMPLES .EX nums : &[Int] = &[] -for i in (5).onward() +for i in 5.onward() nums.insert(i) stop if i == 10 assert nums[] == [5, 6, 7, 8, 9, 10] |
