Newbie problem: lexical error when compiling

Wagner Ferenc wferi at niif.hu
Sun Sep 16 16:05:53 EDT 2007


David Schonberger <llp_yyz at hotmail.com> writes:

> 'ghc -o hello hello.hs' and received the following error: hello.hs:1:0 lexical
> error at character '\65279'.

See http://en.wikipedia.org/wiki/Byte_Order_Mark
Somehow you'll have to persuade you editor not to use the BOM, or make
GHC accept it...  Neither of which I can help you.
-- 
Regards,
Feri.


More information about the Glasgow-haskell-users mailing list