Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could Someone point me to a good summary of haskell code conventions

Particularly about indentation and under_score/camelCase/longalllowercasewords.

like image 402
Roman A. Taycher Avatar asked May 15 '10 16:05

Roman A. Taycher


3 Answers

Good Haskell Style, by Dr. Ian Lynagh of Well-Typed.

like image 94
Don Stewart Avatar answered Oct 20 '22 00:10

Don Stewart


Ian's document is good but a bit thin. I've already answered a very similar question but I added something about the case of words.

like image 35
Norman Ramsey Avatar answered Oct 20 '22 00:10

Norman Ramsey


There's also http://github.com/tibbe/haskell-style-guide/blob/master/haskell-style.md, which comes with an accompanying haskell-style.el file for use with haskell-mode in Emacs.

like image 20
sudish Avatar answered Oct 20 '22 00:10

sudish