Created
October 16, 2017 13:25
-
-
Save MiniXC/b4d90a4cd8c55e34cce058433ba42623 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
halveEvens :: [Int] -> [Int] | |
halveEvens xs = [x `div` 2 | x <- xs, x `mod` 2 == 0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment