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)
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.