[commit: packages/base] master: Add Haddock `/Since: 4.7.0.0/` comments to new symbols (6368362)

git at git.haskell.org git at git.haskell.org
Sat Sep 21 14:28:23 CEST 2013


Repository : ssh://git@git.haskell.org/base

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/6368362f4486226dee9d54665b4fdffde24e56f1/base

>---------------------------------------------------------------

commit 6368362f4486226dee9d54665b4fdffde24e56f1
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Sep 21 14:16:45 2013 +0200

    Add Haddock `/Since: 4.7.0.0/` comments to new symbols
    
    These annotations were added in such a way, that the line
    
    {{{
    /Since: 4.7.0.0/
    }}}
    
    represents the last paragraph of the Haddock comment.
    
    Maybe Haddock will have support for this meta-syntax at some point, and
    be able to inherited the since-version property to the children of an
    annotated symbol and display the since-version property in the rendered
    documentation only in cases when it's not visually obvious (for
    instance, when re-exporting documentation strings).
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


>---------------------------------------------------------------

6368362f4486226dee9d54665b4fdffde24e56f1
 Control/Concurrent.hs        |    4 ++++
 Data/Bits.hs                 |    2 ++
 Data/Bool.hs                 |    2 ++
 Data/Either.hs               |    4 ++++
 Data/Functor.hs              |    3 +++
 Data/OldTypeable.hs          |    1 +
 Data/OldTypeable/Internal.hs |    1 +
 Data/Proxy.hs                |    1 +
 Data/Type/Equality.hs        |    3 +++
 Data/Typeable/Internal.hs    |    2 ++
 Debug/Trace.hs               |   10 ++++++++++
 Foreign/C/Error.hs           |    1 +
 GHC/Exts.hs                  |    2 ++
 GHC/Fingerprint.hs           |    2 ++
 GHC/IO/Exception.hs          |    5 +++++
 GHC/MVar.hs                  |    2 ++
 GHC/Profiling.hs             |    1 +
 GHC/Stack.hsc                |    2 ++
 GHC/TypeLits.hs              |    2 ++
 GHC/Word.hs                  |    9 +++++++++
 Numeric.hs                   |    4 ++++
 System/Environment.hs        |    4 ++++
 System/Mem/StableName.hs     |    2 ++
 Text/Printf.hs               |   38 ++++++++++++++++++++++++++++++++++++++
 Text/Read/Lex.hs             |    2 ++
 25 files changed, 109 insertions(+)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 6368362f4486226dee9d54665b4fdffde24e56f1



More information about the ghc-commits mailing list