Jose A. Ortega Ruiz-2 wrote:
>
> Assuming you're using haskell-mode, does
>
> M-x inferior-haskell-load-and-run
>
This seems to be exactly what I want.
Added couple of things:
(defun haskell-run-preserve-focus ()
"Load and run but preserve focus."
(interactive)
(let ((
On Mon, 26 Apr 2010 12:43:39 -0700 (PDT), Zura_ wrote:
>
> Hello,
Hello,
> Is it possible to run haskell program in emacs without typing "main" in the
> ghci buffer? Assuming "main" function exists of course.
> Or, maybe automate sending "main\n" string to ghci buffer input.
> In other words, I
On 27 April 2010 05:43, Zura_ wrote:
> Is it possible to run haskell program in emacs without typing "main" in the
> ghci buffer? Assuming "main" function exists of course.
> Or, maybe automate sending "main\n" string to ghci buffer input.
> In other words, I want edit/run/see result style session
Hello,
Is it possible to run haskell program in emacs without typing "main" in the
ghci buffer? Assuming "main" function exists of course.
Or, maybe automate sending "main\n" string to ghci buffer input.
In other words, I want edit/run/see result style session.
Thanks in advance,
Zura
--
View t