Function: run-haskell
run-haskell is an interactive and natively compiled function defined
in haskell-ts-mode.el.
Signature
(run-haskell)
Documentation
Run an inferior Haskell process.
Key Bindings
haskell-ts-mode-map C-c C-r
Source Code
;; Defined in /nix/store/84k99g1lc4gz6zw2djcsyzr9zviz842h-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-ts-mode-1.3.5/haskell-ts-mode.el
;;;###autoload
(defun run-haskell ()
"Run an inferior Haskell process."
(interactive)
(let ((buffer (get-buffer-create haskell-ts-ghci-buffer-name))
(ghci haskell-ts-ghci)
(switches haskell-ts-ghci-switches))
(pop-to-buffer-same-window
(if (comint-check-proc buffer)
buffer
(with-current-buffer buffer
(apply 'make-comint-in-buffer
"Haskell"
buffer
ghci
nil
switches))))))