-
Notifications
You must be signed in to change notification settings - Fork 343
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
How to set C-c C-k to check kind? #210
Comments
Assuming that If it turns out to be true, i.e. |
To sum up, in this case, I believe it's: (add-hook 'inferior-haskell-mode-hook
(lambda ()
(define-key inferior-haskell-mode-map (kbd "C-c C-k") nil)
(define-key inferior-haskell-mode-map (kbd "C-c C-k") 'inferior-haskell-kind))) |
@HaskellZhangSong: did you manage to solve this problem? If not do not hessitate to write a note here and we will reopen this issue again. |
I found there is a pieces of code to check the kind of a term in inf-haskell.el
(defun inferior-haskell-kind (type)
"Query the haskell process for the kind of the given expression."
(interactive
I bind the key as following
(define-key map (kbd "C-c C-k") 'inferior-haskell-kind)
and restart emacs but still cannot use it.
I am a new user of haskell-mode. Could any explain to me a little bit.
The text was updated successfully, but these errors were encountered: