all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How do you indent with Haskell code?
@ 2009-01-04  4:24 Andy Stewart
  0 siblings, 0 replies; only message in thread
From: Andy Stewart @ 2009-01-04  4:24 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

I use haskell-mode to write Haskell code.
Haskell use whitespace indent code.
And if i write code with deep indent level.
Have many possible position can indent at current line.
Example:

case foo of
^
1
    ^
    2

Write code below *case foo of* have two possible indent position.
I use haskell-mode for indent, i hit "TAB" key to switch all possible
indent position.
Like above example, i can hit "TAB" to indent code between (1) and (2).

I will wonderful have anyone use others advanced indent method for
Haskell.
More ingenious and don't waist time to hit "TAB" key.

Any help?

  -- Andy





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-04  4:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-04  4:24 How do you indent with Haskell code? Andy Stewart

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.