No title

1
2
3
4
5
6
import Control.Monad
 
readLines = do
        input <- getLine
        inputs <- replicateM (read input) getLine
        return inputs 
3:13: Error: Redundant return
Found:
do input <- getLine
inputs <- replicateM (read input) getLine
return inputs
Why not:
do input <- getLine
replicateM (read input) getLine