Created
May 20, 2015 13:56
-
-
Save rosslebeau/5adcd1d554a46c90983a to your computer and use it in GitHub Desktop.
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
lonelyInteger :: [Int] -> Int | |
lonelyInteger = head . head . dropWhile ((>1) . length) . group . sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment