From 00543b4e876cf069d5be22c1f06427a4c8d5bed9 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 4 Sep 2024 21:02:37 -0400 Subject: Add Text.map(pat, fn) --- builtins/text.h | 1 + 1 file changed, 1 insertion(+) (limited to 'builtins/text.h') diff --git a/builtins/text.h b/builtins/text.h index a25a61d5..c93c6266 100644 --- a/builtins/text.h +++ b/builtins/text.h @@ -51,6 +51,7 @@ Text_t Text$from_codepoint_names(array_t codepoint_names); 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); extern const TypeInfo $Text; -- cgit v1.2.3