Created
October 15, 2017 16:11
-
-
Save joshuashaffer/976ad9c95c7ca73727eec52760b2cc73 to your computer and use it in GitHub Desktop.
Is the sum of the ascii character codes odd?
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
| import Data.Char | |
| thatsOdd = odd . sum . map (ord) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment