From 7a4f2e73addf6dfcde2a6b17b62b961608e556a0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 9 Nov 2024 15:11:11 -0500 Subject: Rename `from_text()` to `parse()` --- docs/text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/text.md') 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" ``` -- cgit v1.2.3