haskell / haskell-mode

Emacs mode for Haskell
http://haskell.github.io/haskell-mode/
GNU General Public License v3.0
1.33k stars 342 forks source link

Documentation and Errors. #1491

Open AnthonyJacob opened 7 years ago

AnthonyJacob commented 7 years ago

I use spacemacs with haskell layer.

For some reason when I use hoogle lookup on any name, it doesn't take context into account. Say I use import Foundation; putStrLn and I hit SPC-m-h-h, hoogle totally ignores I am using putStrLn from Foundation and shows me absolutely irrelevant results of putStrLn from Prelude.

Also when I go to next error, the description of error (popup window) disappears after 5 secs. Haskell errors cant be understood in 5 secs by its nature...

gracjan commented 7 years ago

If I understand correctly you are reporting two issues here. Can you file them separately? It makes things easier to manage. Thanks.