Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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