summaryrefslogtreecommitdiff
path: root/docs/coding-style.html
diff options
context:
space:
mode:
authorsimonm <unknown>1998-05-28 15:28:01 +0000
committersimonm <unknown>1998-05-28 15:28:01 +0000
commitc858e3b89f8d2d6eac86abf5bb8b75d557219c06 (patch)
treeb7b975d3d5a90ccf48a5dedc8e401a3c01e677cb /docs/coding-style.html
parent35bb50cb53da808f5fb6eda87896a7b57e2f4292 (diff)
downloadhaskell-c858e3b89f8d2d6eac86abf5bb8b75d557219c06.tar.gz
[project @ 1998-05-28 15:28:01 by simonm]
Note about keeping to 80 columns.
Diffstat (limited to 'docs/coding-style.html')
-rw-r--r--docs/coding-style.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/coding-style.html b/docs/coding-style.html
index ceca6b9bab..6972000f13 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))
</pre>
+<li> 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.
+
<li> 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).