Per Larsson <[EMAIL PROTECTED]> writes: > I'm looking for some kind of style-guide for layout and indentation of haskell > source code, can anyone help me?
There are various pretty-printing libraries for Haskell, for example: http://www.haskell.org/ghc/docs/latest/html/haskell-src/Language.Haskell.Pretty.html http://www.haskell.org/ghc/docs/latest/html/base/Text.PrettyPrint.html http://www.cs.uu.nl/~daan/pprint.html For editors, there's haskell-mode for emacs which does a good job of indenting intelligently. I've heard the vim mode works well also. A bit of googling turned up these: http://www.haskell.org/~simonmar/libraries/libraries.html http://www.cs.ou.edu/~rlpage/fpclassFall96/handouts/styleGuide.html http://www.cs.bris.ac.uk/Teaching/Resources/COMS12100/java/style.html Hope this helps, -- Shae Matijs Erisson - 2 days older than RFC0226 #haskell on irc.freenode.net - We Put the Funk in Funktion 10 PRINT "HELLO" 20 GOTO 10 ; mapM_ putStrLn $ fix ("hello":) _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell