Changes between Version 18 and Version 19 of Commentary/Compiler/API


Ignore:
Timestamp:
Jan 15, 2017 12:33:01 PM (3 years ago)
Author:
takenobu
Comment:

fix file names (.lhs to .hs)

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/API

    v18 v19  
    4545The targets specify the source files or modules at the top of the dependency tree.  For a Haskell program there is often just a single target {{{Main.hs}}}, but for a library the targets would consist of every visible module in the library.
    4646
    47 The {{{Target}}} type is defined in [[GhcFile(compiler/main/HscTypes.lhs)]].  Note that a {{{Target}}} includes not just the file or module name, but also optionally the complete source text of the module as a {{{StringBuffer}}}: this is to support an interactive development environment where the source file is being edited, and the in-memory copy of the source file is to be used in preference to the version on disk.
     47The {{{Target}}} type is defined in [[GhcFile(compiler/main/HscTypes.hs)]].  Note that a {{{Target}}} includes not just the file or module name, but also optionally the complete source text of the module as a {{{StringBuffer}}}: this is to support an interactive development environment where the source file is being edited, and the in-memory copy of the source file is to be used in preference to the version on disk.
    4848
    4949== Dependency Analysis ==
     
    5555== The !ModSummary type ==
    5656
    57 A {{{ModSummary}}} (defined in [[GhcFile(compiler/main/HscTypes.lhs)]]) contains various information about a module:
     57A {{{ModSummary}}} (defined in [[GhcFile(compiler/main/HscTypes.hs)]]) contains various information about a module:
    5858
    5959 * Its {{{Module}}}, which includes the package that it belongs to