Commit 0edb967a authored by epsi sayidina's avatar epsi sayidina

haskell notes

parent b19de025
......@@ -23,3 +23,8 @@ main = do
-- loop over an array/ list
mapM_ print list
putStrLn ""
mapM_ (putStr . (": " ++) . show ) ([1..9] ++ [0])
putStrLn ""
putStrLn (concatMap ((": " ++) . show ) ([1..9] ++ [0]) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment