unlit/ghci does not work on DOS file

Simon Marlow simonmar at microsoft.com
Mon Nov 22 11:42:38 EST 2004


On 18 November 2004 20:31, Christian Maeder wrote:

> calling unlit on a DOS file fails, whereas hugs is able to process the
> same file (under unix).
> 
> Christian
> 
> 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)

Thanks, fixed.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list