X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fcoding-style.html;fp=docs%2Fcoding-style.html;h=6972000f13219b1aeeead5f250cd8dbf7f5e8a20;hb=c858e3b89f8d2d6eac86abf5bb8b75d557219c06;hp=ceca6b9babec64da02a610dbd85c29372756d8d1;hpb=35bb50cb53da808f5fb6eda87896a7b57e2f4292;p=ghc-hetmet.git diff --git a/docs/coding-style.html b/docs/coding-style.html index ceca6b9..6972000 100644 --- a/docs/coding-style.html +++ b/docs/coding-style.html @@ -475,6 +475,11 @@ it's easier to write and easier to grep for. YMMV. #define stgCast(ty,e) ((ty)(e)) +
  • Please keep to 80 columns: the line has to be drawn somewhere, +and by keeping it to 80 columns we can ensure that code looks OK on +everyone's screen. Long lines are hard to read, and a sign that the +code needs to be restructured anyway. +
  • We don't care too much about your indentation style but, if you're modifying a function, please try to use the same style as the rest of the function (or file).