From 5bdaa1e4ffe40add10f000ee993e6b500c419a37 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Sat, 9 Aug 2014 10:58:03 +0800 Subject: add files from home for previous chapters and sandboxes --- capscont.hs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 capscont.hs (limited to 'capscont.hs') diff --git a/capscont.hs b/capscont.hs new file mode 100644 index 0000000..2277d3b --- /dev/null +++ b/capscont.hs @@ -0,0 +1,5 @@ +import Data.Char + +main = do + contents <- getContents + putStr $ map toUpper contents -- cgit v1.2.3-70-g09d2