Created
February 28, 2015 05:31
-
-
Save MiyamonY/e72f2a6807dddb31850e to your computer and use it in GitHub Desktop.
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
import Data.Char | |
import Data.List | |
main :: IO () | |
main = do line <- fmap (intersperse '-' . reverse . map toUpper) getLine | |
putStrLn line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment