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?
In Lisp or Scheme buffers it is possible to evaluate a single expression by
Share
eval-last-sexpis a command fromemacs-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-iwill bring up aghcisession with your current buffer interpreted.