Next: Autoformating, Previous: Indentation, Up: Top [Index]
Some projects require indenting code with tabs and forbid indenting it with spaces. For hacking on such projects, check out haskell-tab-indent-mode.
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.