unlit/ghci does not work on DOS file

Christian Maeder maeder at tzi.de
Thu Nov 18 15:31:29 EST 2004


calling unlit on a DOS file fails, whereas hugs is able to process the 
same file (under unix).


Prelude> readFile "Test.lhs" >>= putStrLn . show
"\r\n> module Test where\r\n>\r\n"
Prelude> :l Test.lhs
Test.lhs line 2: unlit: Program line next to comment
phase `Literate pre-processor' failed (exitcode = 1)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.lhs.gz
Type: application/x-gzip
Size: 55 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/glasgow-haskell-users/attachments/20041118/ed551aa6/Test.lhs.bin

More information about the Glasgow-haskell-users mailing list