Newbie problem: lexical error when compiling

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

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'.

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.

More information about the Glasgow-haskell-users mailing list