Skip to content

Instantly share code, notes, and snippets.

@fswalker
Created September 16, 2017 16:15
Show Gist options
  • Save fswalker/e08c7fd1f5d984c4010867edf1e39326 to your computer and use it in GitHub Desktop.
Save fswalker/e08c7fd1f5d984c4010867edf1e39326 to your computer and use it in GitHub Desktop.
Generate list of capital letters from 'A' to 'Z'
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