Created
September 16, 2017 16:15
-
-
Save fswalker/e08c7fd1f5d984c4010867edf1e39326 to your computer and use it in GitHub Desktop.
Generate list of capital letters from 'A' to 'Z'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Alphabet exposing (..) | |
import Char | |
capitalLetters : List Char | |
capitalLetters = | |
List.range (Char.toCode 'A') (Char.toCode 'Z') | |
|> List.map Char.fromCode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment