[Haskell-cafe] ANN: Haskell-mode 2.8.0

Deniz Dogan deniz.a.m.dogan at gmail.com
Fri Jul 2 10:52:07 EDT 2010

2010/7/2 Svein Ove Aas <svein.ove at aas.no>:
> On Fri, Jul 2, 2010 at 3:23 PM, Deniz Dogan <deniz.a.m.dogan at gmail.com> wrote:
>> Why do you want to rewrite the indenter in Haskell? If haskell-mode
>> has any external dependencies such as that one, it will most likely
>> never make it into Emacs.
> In no particular order:
> - For any given line, there are typically several possible
> indentations. We can cycle between these, but it's better to minimize
> them.
> - I want the parser to be as accurate as possible. This essentially
> means reimplementing haskell-src-exts, unless I *use*
> haskell-src-exts.
> - In many cases, the legal indentations depend on the types of the
> expressions involved. This can be figured out, but requires part of
> the code to be running in GHC *anyway*.
> - Elisp is a lousy language compared to haskell, and I don't really
> care about getting haskell-mode into the emacs distribution. It makes
> more sense to bundle it with GHC, if it has to be bundled.
> - Most of haskell-mode will work without this helper program,
> including the three other indentation modes.

Why not make ALL of haskell-mode work without the helper program? You
could ship this helper program along with the Lisp using this program
in an external package. I see no reason to virtually exclude
haskell-mode from ever being shippable with Emacs.

Deniz Dogan

More information about the Haskellmode-emacs mailing list