1

I'm using ghci to do some incremental development using Emacs' run-haskell. Every once in a while, I get an error that looks like

<interactive>:[line]:[character]: _Lexical error at character '\EOT'

Setting up an intermediate variable or two gets a working response, and the file I'm working on both loads and compiles properly. Reducing character count also works; the max I seem to be able to hit is 252.

Anyone have an idea of what's going on?

Inaimathi
  • 13,853
  • 9
  • 49
  • 93
  • 2
    [There's this mailing list post about it too.](http://projects.haskell.org/pipermail/haskeline/2009-May/000018.html) (Which leads to [this (closed) bug](http://hackage.haskell.org/trac/ghc/ticket/3256).) – huon Aug 24 '12 at 19:04

1 Answers1

2

This was filed and closed as a bug in GHC several years ago, so looks like no dice on fixing it at the GHCi end. (Searching "_Lexical error at character '\EOT'" gives a few other results (for example), but I can't work out how applicable they are.)

huon
  • 94,605
  • 21
  • 231
  • 225