Newbie problem: lexical error when compiling

Ian Lynagh igloo at
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> writes:
> > 'ghc -o hello hello.hs' and received the following error: hello.hs:1:0 lexical
> > error at character '\65279'.
> See
> 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:


More information about the Glasgow-haskell-users mailing list