June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -1,5 +1,4 @@
|
|||
loop :: IO ()
|
||||
loop = mapM_ action [1 .. 10]
|
||||
where action n = do
|
||||
main :: IO ()
|
||||
main = forM_ [1 .. 10] $ \n -> do
|
||||
putStr $ show n
|
||||
putStr $ if n == 10 then "\n" else ", "
|
||||
|
|
@ -0,0 +1 @@
|
|||
intercalate ", " (map show [1..10])
|
||||
Loading…
Add table
Add a link
Reference in a new issue