Last active
August 29, 2015 14:23
-
-
Save shinka-cb/c99d93229ea748eb0080 to your computer and use it in GitHub Desktop.
sushiZip
This file contains hidden or 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
| data Edible = π | π | π£ deriving (Show) | |
| gohan = repeat π | |
| fish = repeat π | |
| f:: Edible -> Edible -> Edible | |
| f π π = π£ | |
| sushiZip = zipWith f gohan fish | |
| main = do putStrLn $ show sushiZip |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note that this code cannot be compiled! (because of utf-8 emoji)
This code was inspired by this tweet