Last active
December 5, 2017 00:58
-
-
Save yantene/9f6c4a3537b5c563d878643611fb50e2 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
map (\(n, fb) -> last (sort [(show n), fb])) (zip [1..] (map (\(x, y) -> x ++ y) (zip (cycle ["", "", "fizz"]) (cycle ["", "", "", "", "buzz"])))) | |
-- import Data.List |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment