Johan Tibell <[email protected]> writes:
> I'd like to change haskell-indentation (i.e. add an option) so it indents
> the "where" keyword with half an indent (e.g. 1 space instead of two).

On the other hand, you then have the problem where it might not be as
obvious that there's an indentation (nested where clauses, etc.,
especially with blank lines).

> Example:
>
> myFun = do
>     print "hi"
>     print name
>   where
>     name = "Mini Me"

You seem to have a 2-space indent here...

> [snip]
>
> myFun2 = go ...
>   where
>     go = ...

... and here

> which would look like this with the current scheme
>
> myFun2 = go ...
>     where
>         go = ...

This looks like a 4-space indent to me.

-- 
Ivan Lazar Miljenovic
[email protected]
IvanMiljenovic.wordpress.com

_______________________________________________
Haskellmode-emacs mailing list
[email protected]
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs

Reply via email to