-ferror-spans and ghci

Ian Zimmerman nobrowser at gmail.com
Mon Nov 7 00:01:04 EST 2005


itz at 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?

-- 
A true pessimist won't be discouraged by a little success.


More information about the Glasgow-haskell-users mailing list