[Haskell] Haskell-mode 2.0

Georg Martius mai99dgf at studserv.uni-leipzig.de
Fri Nov 26 18:18:43 EST 2004


On Fri, 26 Nov 2004 16:38:26 -0500, Stefan Monnier <monnier at iro.umontreal.ca> wrote:

>> thanks for you work! The indentation works much better than
>> before. However, I have some feature requests/bugs:
>> - indentation in do monad: lines after "let" should have 2 possible
>>   indentations. One for new let bindings (how it is currently) and one for
>>   further monad expressions. Example:
>>     do expr1
>>        let foo  = bar
>>            foo2 = bar2
>>        expr2            -- this is the line I mean
>>
>> - an identifier with ' changes the indentation of the following lines,
>>   which should not be the case.
>> Example:
>>    let bar = case foo
>>              of _ -> blabla
>>        bar' = case foo
>>           of _ -> blabla
>
>
> Thanks, I'll see what I can do about it.  The indentation algorithm is
> pretty hairy, and although I have the original author in the same building,
> I can't guarantee any progress on it.
> BTW, do I understand correctly that these are not new bugs?
>
>
>         Stefan

Yes, these problems have been there before and I just caught the chance to report them.

	Georg


More information about the Haskell mailing list