[Haskell-cafe] ANN: Haskell-mode 2.8.0

Svein Ove Aas svein.ove at aas.no
Fri Jul 2 09:36:06 EDT 2010


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.

-- 
Svein Ove Aas



More information about the Haskellmode-emacs mailing list