[Haskell-cafe] ghc-mod v2.0.1

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Tue May 21 07:06:12 CEST 2013


Hi,

> While we're on topic of ghc-mod, why does the emacs front-end give
> `Cannot guess type' when the point is on the very first letter of the
> function?
> 
> foo 5 = 2
> ^
> foo x = 3
> 
> Is this a feature or a bug? It does fine on the second (or any) letter
> after that point.

I think this is a spec of GHC API.

But if you want, Emacs front-end can adjust it. Please register an
issue on github if necessary.

--Kazu



More information about the Haskell-Cafe mailing list