diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-09 15:11:11 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-09 15:11:11 -0500 |
| commit | 7a4f2e73addf6dfcde2a6b17b62b961608e556a0 (patch) | |
| tree | c03e4758e5725a4a6d352f5bb7d323796ed99947 /docs/text.md | |
| parent | 5d35f286336878a3529dabdb3f7800b6f84712eb (diff) | |
Rename `from_text()` to `parse()`
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" ``` |
