In Lisp or Scheme buffers it is possible to evaluate a single expression by pressing C-x C-e which calls eval-last-sexp
. But eval-last-sexp
works only for literals in Haskell. What is the equivalent way to do the same in the Haskell mode?
eval-last-sexp
is a command from emacs-lisp-mode
, and has no bearing on Haskell Mode which is presumably what you want.
If you've correctly set up inf-haskell.el, then C-c C-i
will bring up a ghci
session with your current buffer interpreted.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With