GHCi and line numbers (with ghc-7.4.1)
marlowsd at gmail.com
Thu Mar 22 12:13:48 CET 2012
On 20/03/2012 20:12, Simon Hengel wrote:
> ghc --interactive now behaves different in regards to line numbers in
> error messages than previous versions.
> They are now incremented with each evaluated expression.
> $ ghc --interactive -ignore-dot-ghci
> Prelude> foo
> <interactive>:2:1: Not in scope: `foo'
> Prelude> bar
> <interactive>:3:1: Not in scope: `bar'
> Is there a way to disable this (or alternatively reset the counter for a
> running session)?
Sorry, there's no way to reset it at the moment. What do you need that for?
More information about the Glasgow-haskell-users