Changes between Version 45 and Version 46 of Commentary/CodingStyle


Ignore:
Timestamp:
May 8, 2012 2:04:21 PM (3 years ago)
Author:
danbst
Comment:

typo

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/CodingStyle

    v45 v46  
    6464
    6565When writing a comment to explain a subtle point, consider including an example code
    66 snippet that illustrates the point.  For example, the above `Note [Float coercions]` contines thus:
     66snippet that illustrates the point.  For example, the above `Note [Float coercions]` continues thus:
    6767{{{
    6868There's a chance that e will be a constructor application or function, or something
     
    187187
    188188In GHC we use a mixture of literate ({{{.lhs}}}) and non-literate ({{{.hs}}}) source. I (Simon M.) prefer to use non-literate style, because I think the {{{\begin{code}..\end{code}}}} clutter up the source too much, and I like to use Haddock-style comments (we haven't tried processing the whole of GHC with Haddock yet, though).
     189
    189190=== The C Preprocessor (CPP) ===
    190191