[Haskell-cafe] Re: ANN: haskell-mode 2.6

Svein Ove Aas svein.ove at aas.no
Mon Nov 2 10:18:40 EST 2009

On Mon, Nov 2, 2009 at 1:18 PM, Dan Doel <dan.doel at gmail.com> wrote:
> On Sunday 01 November 2009 4:45:58 pm Svein Ove Aas wrote:
>> On Sun, Nov 1, 2009 at 8:20 PM, Svein Ove Aas <svein.ove at aas.no> wrote:
>> > Fellow haskellers:
>> >
>> > Haskell-mode 2.6 has been released.
>> Make that 2.6.1. Naturally, I broke something, but I think I'm about
>> out of things to break now.
> As it happens, the haskell-indentation mode (the new one) doesn't like
> hierarchical modules names. Something like:
>  module Foo.Bar (\n
> will begin at the beginning of the line, complaining about there being an
> operator (the '.').
> Though you may not have broken it. :) I can't recall if that happened
> previously or not.
What seems to be going on is that haskell-indentation simply isn't
prepared to deal with hierarchical module names at all, or qualified

The latter works because it interprets "Foo.bar" as actually using the
operator (.), which it considers to be valid syntax. Operators are not
valid in module statements, however.

I'm going to try teaching it. Hopefully I won't break anything in the process.

Svein Ove Aas

More information about the Haskell-Cafe mailing list