Skip to content

Instantly share code, notes, and snippets.

@coyotebush
Created January 26, 2013 04:39
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 coyotebush/4640247 to your computer and use it in GitHub Desktop.
Save coyotebush/4640247 to your computer and use it in GitHub Desktop.
doCase n = do
s <- getLine
putStrLn $ "Case #" ++ show n ++ ": "
main = do
n <- getLine
mapM_ doCase [1..read n]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment