How can I create a list that contains character from A - Z? (Update: Sorry for asking stupid question XD, I found the solution)

Hi. How can I create a list like this: [‘A’, ‘B’, ‘C’, ‘D’, …, ‘X’, ‘Y’, ‘Z’]?

Solution: Char.fromCode (List.range 65 90)

Elm Slack is also a great place for quick questions.


Yep, you got it!

But since I see you edited your title… just so you know, it’s totally fine to ask this kind of question here, too!


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.