Created
August 5, 2015 11:30
-
-
Save wrist/2eb63c98e65418c8d659 to your computer and use it in GitHub Desktop.
improved (wc -c 112 -> 64)
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
main = do | |
c <- getContents | |
print (length $ filter ('@' ==) c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment