[Haskell-beginners] indentation

Magnus Therning magnus at therning.org
Mon Feb 15 07:08:06 EST 2010


On Mon, Feb 15, 2010 at 11:33, Gabi <bugspynet at gmail.com> wrote:
> BTW, is there some indent tool for Haskell.
> Something like "indent" command line tool for c?

Since indentation is significant (in most source files) I suspect it
would be difficult to create an "indent"-like tool for Haskell.

If you want modify indentation, e.g. switch from tabs to spaces, or
change from 4 to 2 spaces then you can use any tool that lets you do a
search and replace.

/M

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe


More information about the Beginners mailing list