Tue May 26 03:17:43 EDT 2009 [email protected]
* Mode/Haskell.hs: Big improvements of the indentation when using the
experimental mode
Ignore-this: ecc123529367539b80b949231bad44f
The precise haskell mode now has the following indentation features
* Let is indented correctly (nested Let:s is under development) also the
possible ending in is correctly indented!
* Guards aligns to the above guard (in that function) or to default
indentation if it's the first guard in the function
* following is implemented in rhs of functions (discussed yesterday at irc)
fun a = some code
<|> more code
is indented like this:
fun a = some code
<|> more code
fun b = some code
more code
is indented like this:
fun b = some code
more code
in guards only the later indentation is possible at the moment
Thanks goes to Deniz for the idea of how operators should be indented on the
rhs
Remember that the precise haskell mode still can have some buggs making yi
crash, so if you test it remember to save often and post the code making it
crash!
M ./Yi/Mode/Haskell.hs -13 +33
--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---