diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-04 21:22:03 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-04 21:22:03 -0400 |
| commit | 3a556296b68ded68c9fcefa1c60e34d1eff40fa7 (patch) | |
| tree | 658db57ce2c477d13cf607b1878e2ed5e2a68c92 /builtins/text.h | |
| parent | 00543b4e876cf069d5be22c1f06427a4c8d5bed9 (diff) | |
Add Text:repeat()
Diffstat (limited to 'builtins/text.h')
| -rw-r--r-- | builtins/text.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtins/text.h b/builtins/text.h index c93c6266..747f82a0 100644 --- a/builtins/text.h +++ b/builtins/text.h @@ -52,6 +52,7 @@ Text_t Text$from_bytes(array_t bytes); array_t Text$lines(Text_t text); Text_t Text$join(Text_t glue, array_t pieces); Text_t Text$map(Text_t text, Pattern_t pattern, closure_t fn); +Text_t Text$repeat(Text_t text, Int_t count); extern const TypeInfo $Text; |
