Last active
January 3, 2016 18:19
-
-
Save cohalz/8501626 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let capitalize chr = | |
let ascii = int_of_char chr in | |
if ascii > 96 && ascii < 123 then char_of_int(ascii-32) else chr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment