emacs haskell-ghci mode hook

Hal Daume III hdaume@ISI.EDU
Wed, 8 Jan 2003 08:03:52 -0800 (PST)

> a) adding arguments to the ghci was not well documented. So I appended 
> the following (and a few more paths) to my .gnu-emacs:
> ;(add-hook 'haskell-mode-hook 'turn-on-haskell-hugs)
> (add-hook 'haskell-mode-hook 'turn-on-haskell-ghci)
> (setq haskell-ghci-program-args
>        (append
>         '("-fglasgow-exts")
>         '("-fallow-overlapping-instances")
>         '("-Wall")
>         '("-package data")
>         '("-i.:..")
> ))

You can also create a .ghci file in your home directory and put:

:set -fglasgow-exts
:set -fallow-overlapping-instances

into it.  ghci will read this when run.

sorry, but i can't help with the other two things...