[Haskell] Haskell-mode 2.0

Stefan Monnier monnier at iro.umontreal.ca
Fri Nov 26 16:38:26 EST 2004

> 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?


More information about the Haskell mailing list