diff options
Diffstat (limited to 'docs/text.md')
| -rw-r--r-- | docs/text.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/text.md b/docs/text.md index eab07a9e..b0d704b6 100644 --- a/docs/text.md +++ b/docs/text.md @@ -886,7 +886,7 @@ function to each. ```tomo >> "hello world":map($/world/, Text.upper) = "hello WORLD" ->> "Some nums: 1 2 3 4":map($/{int}/, func(i:Text): "$(Int.from_text(i) + 10)") +>> "Some nums: 1 2 3 4":map($/{int}/, func(i:Text): "$(Int.parse(i)! + 10)") = "Some nums: 11 12 13 14" ``` |
