
1 May
2015
1 May
'15
8:40 a.m.
Hi, Please can anyone point out the correct way of doing this - I am simply trying to print "Test" in a loop based on the counter derived from the list - ---- do _ <- [1..4] b <- putStrLn "Test" return b --- The intended output is to print 'Test' 4 times. Clearly there is a mismatch between the Monad types but I can't see how to achieve this without causing the conflict. Thanks, Shishir