X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=docs%2Fcoding-style.html;h=8fbb27688cc975c3823ed19517201e9f299a7a72;hp=4f39cbfc53ea0fcfb9db4096c431c675e1935d1a;hb=dcf739bd7fb7de140be3bafb4ce211e2e5c7bba9;hpb=5e2b22a5efbc9444a56346f3f93d863703dd1263 diff --git a/docs/coding-style.html b/docs/coding-style.html index 4f39cbf..8fbb276 100644 --- a/docs/coding-style.html +++ b/docs/coding-style.html @@ -1,15 +1,19 @@ - GHC Style Guidelines for C code + + Style Guidelines for fptools -

Coding suggestions for GHC/Hugs related code

+

Style Guidelines for fptools

Comments

-NB These are just suggestions. They're not set in stone. Some of +

These coding style guidelines are mainly intended for use in +ghc/rts and ghc/includes. + +

NB These are just suggestions. They're not set in stone. Some of them are probably misguided. If you disagree with them, feel free to modify this document (and make your commit message reasonably informative) or mail someone (eg. +

  • +The C99 standard. One reasonable reference is here. + +

  • Writing Solid Code, Microsoft Press. (Highly recommended. Possibly -the only Microsoft Press book that's worth reading. SimonPJ has a -copy.) +the only Microsoft Press book that's worth reading.)

  • -Autoconf documentation (which doesn't seem to be on the web). +Autoconf documentation. See also The autoconf macro archive and Cyclic Software's description @@ -50,57 +58,57 @@ Hill C Style and Coding Standards.

    Portability issues