
6 May
2003
6 May
'03
5:10 p.m.
The following doesn't work under nhc98 1.14
I just tried it with nhc98-1.14, and I couldn't reproduce the problem. Same on a freshly built 1.16. I see your version of nhc98 was from a binary distribution, so maybe it is some kind of Linux-related C-library incompatibility? My best suggestion is to build nhc98 from source on the machine in question.
main = do text <- hGetContents stdin putStr (unlines (parse [] text))
Assuming that the extra space before putStr is a typo... Regards, Malcolm