Changes between Version 10 and Version 11 of Commentary/CodingStyle


Ignore:
Timestamp:
May 30, 2007 8:35:30 PM (8 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/CodingStyle

    v10 v11  
    109109}}}
    110110
    111 Import library modules from the core packages only (core packages are listed in [[GhcFile(libraries/core-packages)]]. Use `#defines `in `HsVersions.h` when the modules names differ between versions of GHC.  For code inside `#ifdef GHCI`, don't worry about GHC versioning issues, because this code is only ever compiled by the this very version of GHC.
     111Import library modules from the core packages only (core packages are listed in [[GhcFile(libraries/core-packages)]]). Use `#defines `in `HsVersions.h` when the modules names differ between versions of GHC.  For code inside `#ifdef GHCI`, don't worry about GHC versioning issues, because this code is only ever compiled by the this very version of GHC.
    112112
    113113'''Do not use explicit import lists''', except to resolve name clashes.  There are several reasons for this: