diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gleam/string.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/string.gleam b/src/gleam/string.gleam index 9c1bc9e..97a0c59 100644 --- a/src/gleam/string.gleam +++ b/src/gleam/string.gleam @@ -714,7 +714,7 @@ pub fn to_graphemes(string: String) -> List(String) { |> list.reverse } -pub fn do_to_graphemes(string: String, acc: List(String)) -> List(String) { +fn do_to_graphemes(string: String, acc: List(String)) -> List(String) { case pop_grapheme(string) { Ok(#(grapheme, rest)) -> do_to_graphemes(rest, [grapheme, ..acc]) _ -> acc |