Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Created June 24, 2015 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shigemk2/ff0ba4068bb6a51462df to your computer and use it in GitHub Desktop.
Save shigemk2/ff0ba4068bb6a51462df to your computer and use it in GitHub Desktop.
import Data.Char
import Data.List
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