Last active
September 17, 2020 17:17
-
-
Save chregon/90fbe3aad639c18e4b327b4735223e3c to your computer and use it in GitHub Desktop.
fzbz.hs
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
l = (\x y a b -> if mod x y == 0 then a else b) | |
f = map snd [(i,l i 5 (l i 3 "fizzbuzz" "buzz") (l i 3 "fizz" $ show i)) | i <- [1..]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
unreadable by design