-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
haskell: use ghc-mod for "mhi" and "mht" bindings when enabled #3197
Conversation
ghc-mod can get type / info without having to manually push the code to REPL first. syl20bnr#3173
Can we disambiguate |
Originally There are several such key bindings. So similarly we could map |
I think we should go and ask the authors from Right now That and the fact that in a near future we might want to integrate |
Well, that's why I propose to map As for As for P. S. Probably I am using wrong terminology, when I say bind |
That makes sense. How do we do this ? |
The only way I know is defining function like
And just making regular bind from |
@tko What do you think about it? |
As discussed in syl20bnr#3197.
Thank you for the PR, I close it in favor of #3345. |
I have just tested the PR but it does not seem to work out. I am currently on develop e72dd8a. Pressing If I am correct the aim of the PR was to map |
Yes, it should be mapped to whatever As for you problem - 3 days ago it was working for me like a charm. I'll try to reproduce it once I am back. |
I'll take a look into problems with |
Still working. Just make sure that you are really running |
ghc-mod can get type / info without having to manually push the code to
REPL first. #3173
I'd think maybe the "needs repl" bindings should be moved under m s prefix to make the context more clear. Also the "mhT" function could probably be reimplemented in terms of ghc-mod.