
On 07 November 2005 05:01, Ian Zimmerman wrote:
itz@unicorn:~/src/mindent$ ghci -ferror-spans ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.4, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help.
Loading package base-1.0 ... linking ... done. Prelude> :a SimpleHaskell Compiling Main ( SimpleHaskell.hs, interpreted )
SimpleHaskell.hs:3:0: parse error (possibly incorrect indentation) Failed, modules loaded: none. Prelude> Leaving GHCi.
wth?
It is in ghci where this option would be most useful, imho. Is it implemented?
Yes, it is implemented. Perhaps there was no reasonable span that GHC could determine for that particular error - can you show us the source file? Does 'ghc -ferror-spans' give a more detailed error? Cheers, Simon