Skip to content

Instantly share code, notes, and snippets.

@MiyamonY
Created February 28, 2015 05:31
Show Gist options
  • Save MiyamonY/e72f2a6807dddb31850e to your computer and use it in GitHub Desktop.
Save MiyamonY/e72f2a6807dddb31850e to your computer and use it in GitHub Desktop.
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