Next: , Previous: , Up: Top   [Index]


8 Other ways to indent code

8.1 Indentation with tabs, not spaces

Some projects require indenting code with tabs and forbid indenting it with spaces. For hacking on such projects, check out haskell-tab-indent-mode.

8.2 Structured indentation

Another alternative is to install structured-haskell-mode. which indents code by parsing the code with a full Haskell parser and deciding where to indent based on that.