Skip to content

Instantly share code, notes, and snippets.

@rinx
Created September 30, 2016 08:32
Show Gist options
  • Save rinx/1f07a33c490fc0603a2d5a9d09f729a5 to your computer and use it in GitHub Desktop.
Save rinx/1f07a33c490fc0603a2d5a9d09f729a5 to your computer and use it in GitHub Desktop.
sushi-soku-enzan
--
-- 🍣-soku-enzan.hs
--
(🍣) = (+)
(🍣🍣) = (-)
(🍣🍣🍣) = (*)
(🍣🍣🍣🍣) = (/)
main :: IO ()
main = do
print $ (++) "42 🍣 36 = " $ show $ 42 🍣 36
print $ (++) "42 🍣🍣 36 = " $ show $ 42 🍣🍣 36
print $ (++) "42 🍣🍣🍣 36 = " $ show $ 42 🍣🍣🍣 36
print $ (++) "42 🍣🍣🍣🍣 36 = " $ show $ 42 🍣🍣🍣🍣 36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment