[Haskell-cafe] ANN: Haskell-mode 2.8.0
Alex Ott
alexott at gmail.com
Fri Jul 2 09:51:18 EDT 2010
Re
Svein Ove Aas at "Fri, 2 Jul 2010 15:36:06 +0200" wrote:
SOA> 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.
>>
SOA> In no particular order:
SOA> - For any given line, there are typically several possible
SOA> indentations. We can cycle between these, but it's better to minimize
SOA> them.
SOA> - I want the parser to be as accurate as possible. This essentially
SOA> means reimplementing haskell-src-exts, unless I *use*
SOA> haskell-src-exts.
May be you can use semantic to make a parser? Semantic is already included
into emacs, and I hope, that it will make life easier. Plus we'll
automatically get lot of other functionality - name completion, navigation,
etc.
SOA> - In many cases, the legal indentations depend on the types of the
SOA> expressions involved. This can be figured out, but requires part of
SOA> the code to be running in GHC *anyway*.
SOA> - Elisp is a lousy language compared to haskell, and I don't really
SOA> care about getting haskell-mode into the emacs distribution. It makes
SOA> more sense to bundle it with GHC, if it has to be bundled.
SOA> - Most of haskell-mode will work without this helper program,
SOA> including the three other indentation modes.
--
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/ http://alexott.net
http://alexott-ru.blogspot.com/
More information about the Haskellmode-emacs
mailing list