On Mon, 26 Apr 2010 12:43:39 -0700 (PDT), Zura_ <x...@gol.ge> 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 want edit/run/see result style session.

This is not directly related but I use :cmd in order to :reload and call
main in only one GHCi command (easier for redoing it again and again).

:cmd (return":reload\n :main")

-- 
Nicolas Pouillard
http://nicolaspouillard.fr
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to