When practicing a bit of AoC in Gleam, I ended up doing this function:
fn is_digit(input: String) {
list.range(0, 9) |> list.map(int.to_string) |> list.contains(any: input)
}
So I wanted to ask if there is some library that provides some string utils like these? Or if are there some plans to add these things to Gleam stdlib in the future?
Thanks 