12 Mar
2016
12 Mar
'16
5:48 a.m.
That is an unnecessary use of unsafeInterleaveIO. The solution is actually quite simple: getLines n = replicateM n getLine