Newbie problem: lexical error when compiling

Ian Lynagh igloo at earth.li
Thu Sep 27 16:12:24 EDT 2007


On Sun, Sep 16, 2007 at 10:05:53PM +0200, Wagner Ferenc wrote:
> 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.

I've filed a bug here:

http://hackage.haskell.org/trac/ghc/ticket/1744


Thanks
Ian



More information about the Glasgow-haskell-users mailing list