diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-12-21 16:32:22 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-12-21 16:32:22 -0500 |
| commit | 46b61d3ed2ae5bd5f74c9d580f5501b1226d9f4e (patch) | |
| tree | 15256a67533f176332fec7a3feb56c6b4b2e4b23 /stdlib/text.h | |
| parent | 325b367a1342826fe7174ce45cfab92091d4dbb5 (diff) | |
Add text:by_line()/:by_split()/:by_match()
Diffstat (limited to 'stdlib/text.h')
| -rw-r--r-- | stdlib/text.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/text.h b/stdlib/text.h index f7785ddb..79c094af 100644 --- a/stdlib/text.h +++ b/stdlib/text.h @@ -59,6 +59,7 @@ Text_t Text$from_codepoints(Array_t codepoints); OptionalText_t Text$from_codepoint_names(Array_t codepoint_names); OptionalText_t Text$from_bytes(Array_t bytes); Array_t Text$lines(Text_t text); +Closure_t Text$by_line(Text_t text); Text_t Text$join(Text_t glue, Array_t pieces); Text_t Text$repeat(Text_t text, Int_t count); int32_t Text$get_grapheme_fast(TextIter_t *state, int64_t index); |
