Hi. How can I create a list like this: [‘A’, ‘B’, ‘C’, ‘D’, …, ‘X’, ‘Y’, ‘Z’]?
Solution:
List.map Char.fromCode (List.range 65 90)
Hi. How can I create a list like this: [‘A’, ‘B’, ‘C’, ‘D’, …, ‘X’, ‘Y’, ‘Z’]?
Solution:
List.map 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!