If you try to compile your code, you will get an error message telling you that the line
listStr = [getLine] ++ splitLines getRest
splitLines getRest Document, [String]. , [getLine] - ( ), , .
, , , int-string- , , ..:
listStr = [getLine] ++ map snd (splitLines getRest)
, , .
, .
, .
, , - splitLines, . , , . .